Entities become invisible if at any point all render controllers are disabled
Partner Rank:
2
Partner Team Reporting:
Everbloom Studios
Verification builds:
1.16.0.53, 1.16.0.2
Summary:
Render controllers for entities stop working indefinitely if, at any point, all its render controllers evaluate to false. This means that, if all render controllers on an entity are disabled via conditions, and then some conditions re-evaluate to true, the entity will still not render. This is best seen with entities that have exactly one render controller, with a condition.
Impact:
This causes some of our entities to become invisible (such as fireflies in Ninja Mash-up and even the player).
Repro Steps:
- Open the world provided
- Observe the sheep. They are scripted to only run their render controller based on a 90/10 random chance evaluated every frame.
Observed Results:
The sheep become invisible, only their shadows showing. If you spawn another sheep, you'll be able to see it for a few frames and then it'll never render again after it turns invisible once.
Expected Results:
The sheep should be flickering, with every frame having a 10% chance to not render the sheep. Even after a sheep becomes invisible, the render controller's condition is re-evaluated and re-enabled once the condition is true again.
Screenshots/Videos attached: Yes/No
No
Regression Builds:
Last worked in 1.16.0.51
2020-06-03, 04:05 AM
2020-11-10, 08:52 PM
2020-11-10, 08:52 PM
0
1
-