Search Issue Tracker
Fixed in 2020.2.X
Fixed in 2020.1.X
Votes
0
Found in
2020.1
2020.2.0a17
Issue ID
1259700
Regression
Yes
ArgumentException thrown while switching the Prefab stage a newly create base Prefab but discarding changes
Steps:
1. Add Cube to Hierarchy and make a prefab out of it
2. Switch to InContext mode from the Cube's instance
3. Turn off AutoSave feature
4. Drag the root to the ProjectBrowser and Choose "Create Base"
==>
Cube is marked as dirty
5. Switch to InContext from it
==>
Confirmation window appears
6. Choose "Discard changes"
==>
Error while changing Stage: System.ArgumentException: GameObject must be part of a Prefab instance, or null.
Parameter name: go
Not repro in Version 2019.4.1f1 (73dc222d7c2f)
Repro in Version: 2020.1.0b15.4091 (d3c43f82ffc4)
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
- Memory leak when a lot of UI elements are spawned and despawned
- Warnings are not logged in the Console window when using external code analyzers
- Errors “TLS Allocator ALLOC_TEMP_TLS, underlying allocator ALLOC_TEMP_MAIN has unfreed allocations, size 288“ appear constantly when Prefab is open
- Crash on PPtr<Shader>::operator or NullException errors spammed in console when calling Dispose() on null GraphicsBuffer with baked Reflection Probes
- “EndRenderPass: Not inside a Renderpass” and other Render Graph errors in the Player when Render Graph is enabled and Overlay UI is used
Resolution Note (fix version 2020.2):
Fixed in version: 2020.2.0a18
Resolution Note (fix version 2020.1):
Fixed in 2020.1.2f1