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
- NullReferenceExceptions are being thrown when saving a ScriptableObject with an array of a type with a CustomPropertyDrawer that uses TrackPropertyValue
- Applied velocity is inconsistent when using Rigidbody AddForce() with ForceMode.VelocityChange
- Crash on AudioUtil_CUSTOM_HasAudioCallback when exiting Play Mode while the Inspector is displaying a GameObject with an empty script attached
- Scroll offset is framerate-dependent when scrolling with velocity in the Device Simulator
- "Object.FindObjectsOfType<T>() is obsolete" warning is thrown when using "Transitions Plus" asset
Resolution Note (fix version 2020.2):
Fixed in version: 2020.2.0a18
Resolution Note (fix version 2020.1):
Fixed in 2020.1.2f1