Search Issue Tracker
Duplicate
Votes
6
Found in
5.5.1f1
Issue ID
924006
Regression
No
Editor crashes and Assertion failed on expression: '!gameObject.IsActive()' error is thrown when playing a specific scene
To reproduce:
1. Open repro project(link in edit)
2. Open 'Test' scene
3. Delete all GameObjects except 'MachineGun'
4. Play scene
Expected: scene will be played without any errors
Actual: After deleting other GameObjects error is thrown: Assertion failed on expression: '!gameObject.IsActive()'. When trying to play scene, editor crashes
Reproduced on: 5.5.1f1, 5.5.3p4, 5.6.2p1, 2017.1.0f1, 2017.2.0b1
Note: after deleting 'ProjectSettings' and 'Library' folders the issue persists, but re-enabling all GameObjects in 'Test' scene fixes the issue.
-
isaachurleyyyy
Jun 22, 2018 05:55
Same issue, also fixed by enabling/disabling everything in scene, Thanks!
-
ImperativeGames
Mar 08, 2018 16:02
Yes, happens all the time to my project too, glad to know that deactivating-activating hack exists.
-
PNUMIA-Rob
Oct 07, 2017 20:59
We have also experienced it's ugly occurrence when applying changes to a prefab, importing new assets, saving scene changes, and re-indexing existing assets.
This happens frequently, on an average 3 to 5 times in an 8 hour period.
Please address this issue, it's more than mildly annoying, thanks in advance.
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
- Articulation Body with 'Revolute' Joint Type has erratic behavior when Upper Limit is set to above 360
- WebGL Player fails to render Scene when Terrain with Detail Mesh is added and WebGPU Graphics API is used
- Inconsistent errors are logged when different types are passed into the Query "Q<>" method in UIToolkit and the ancestor VisualElement is null
- Crash on GetMaterialPropertyByIndex when opening a specific Scene
- Discrepancies in the styling are present when using a TSS file instead of a USS file in custom EditorWindow
This is a duplicate of issue #1051704