Page MenuHome

text animation is not updating during rendering
Closed, InvalidPublic

Description

System Information
Operating system: windows version 1903 OS build 18362.476 64-bit with Intel Core i7-6700 CPU
Graphics card: GeForce GTX 1080

also:
Operating system: Ubuntu 18.04.3 64-bit with Intel Core i7-7700 CPU
Graphics card: GeForce GTX 1070

Blender Version
Broken: Blender 2.81
Worked: Blender 2.8

Short description of error
Hi! I'm not sure if it is a Blender bug, but...
I'm using typewriter add-on to animate the text.
Animated property is "character count"
The result should be a neat typewriting effect.
It worked without any issues in Blender 2.8 both on Linux and Windows.
In Blender 2.81 It works in preview window, but animation (character count value) is not updating while rendering. As a result I always have static text.
If I render single random frame, the number of characters will be correct.
But if I render animation (no matter to mp4 file or like sequence of png files), the text is not changing
I tried latest build of blender 2.82 Alpha from 26-11-2019 and had the same issue

Exact steps for others to reproduce the error

  • Please open attached .blend file
  • Enable the attached add-on (it was updated for Blender 2.8)
  • Hit space button (play animation) in the viewport, you should see typing text animation
  • press CTRL+F12 to render the animation. It will take few seconds, the scene is very simple.


Example of properly animated text in Blender 2.8:

Example of non-updating text animation in Blender 2.81 (the result depends on current frame value)

Thank you for your time!

Event Timeline

Sergey Sharybin (sergey) changed the task status from Unknown Status to Unknown Status.Nov 26 2019, 1:02 PM
Sergey Sharybin (sergey) claimed this task.

This is something what needs to be addressed from an addon side.

This worked in 2.80 due to some luck, but was still fragile. There is proper way now which involves newely added functionality to handlers [1].

So technically uptext() should query evaluated text (text_eval = text.evaluated_get(depsgraph)) and access properties character_count via text_eval.character_count.
Modification should still be done on text though.

Thanks for the report, but you'd need to report this to the addon developers.

[1] https://wiki.blender.org/wiki/Reference/Release_Notes/2.81/Python_API#Handlers

Blender is not maintaining that Addon, please report the issue to the original author(s) instead.
Note that T71234: Custom property doesnt update when rendering animation could be related...