Archive 17/01/2023.

Node stays disabled after enabling on Linux

mmikkola

I wanted to hide a node and display it after some time, so I created the following animation to test:

SharedPtr<ValueAnimation> enabledAnim(new ValueAnimation(context_);
enabledAnim->SetKeyFrame(0.0f, false);
enabledAnim->SetKeyFrame(3.0f, true);
enabledAnim->SetKeyFrame(4.0f, false);

node->SetAttributeAnimation("Is Enabled", enabledAnim);

Which works great on Windows, but on Linux the node never shows.
I tried working outside the animation system and just used SetEnabled on the node at set intervals in the Update handler, but no luck there either.

Couldn’t find a similiar post or a relevant github issue.

This is running 1.5 on a VirtualBox VM with Debian 7.9.

cadaver

Was not able to reproduce (used AngelScript instead of C++, though) on Ubuntu 14 64bit build.

mmikkola

Tried it on debian 7.9 install on a intel nuc computer, same result.
I’m gonna check if it’s reproducable with angelscript on debian.

cadaver

In case it’s specific to the platform in a way that is not reproducible on usual systems be prepared to do your own debugging to find the cause, then report back your findings so that the bug can be fixed.