Search Issue Tracker
Duplicate
Votes
0
Found in
5.5.2p4
Issue ID
901242
Regression
Yes
GameObject with Sprite Renderer when OnBecameVisible/OnBecameInvisible does not instantiate
Reproduction steps:
1. Open the attached project;
2. Open the scene "MainScene";
3. Enter Play mode;
4. Move Main Camera along x axis;
Actual result: the new gameobjects do not instantiate and an error "Enabling or adding a Renderer during rendering; this is not allowed. Renderer '...' will not be added." shows up.
Expected result: the new gameobjects should be instantiate.
Reproduced with: 5.6.0b1, 5.6.0p3, 2017.1.0b2
Not reproducible with: 5.5.0f1, 5.5.3p1, 5.6.0a1
Regression introduced in 5.6.0b1
Add comment
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- The Player hangs when activating another maximized application
- [XR] Input is not registered and headset view is headlocked after entering Play Mode with Meta XR SDK on 6000.0.0b16 and higher
- Crash on RtlLookupFunctionEntry when using 10 or more GameObjects with Articulation Body component in the scene
- Polygons are created on the opposite side of the Sprite when the Sprite boundaries are above the edge of the Texture
- Render Graph Viewer Resource list becomes shrunk after using a filter that yields no results
This is a duplicate of issue #897994