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

Scene Management

-

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)

  1. Resolution Note (fix version 2020.2):

    Fixed in version: 2020.2.0a18

  2. Resolution Note (fix version 2020.1):

    Fixed in 2020.1.2f1

Add comment

Log in to post comment

All about bugs

View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.