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.
Comments (3)
-
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
- [UI Builder] Viewport's gizmos for Margin and Padding disappear when dragging to modify the value and the cursor leaves the Spacing section
- "Multiplayer Center" window does not reflect changes made in "Other Packages" section
- Crash on D3DKMTOpenResource when capturing with RenderDoc while GPU Skinning is set to GPU(Batched)
- Editing and saving Curve changes in UI Builder window throws multiple errors in the Console
- [UI Builder] Value is not selected when left clicking on Spacing/Border Widget values
This is a duplicate of issue #1051704