Search Issue Tracker

Fixed in 5.3.0

Votes

0

Found in

5.3.0f1

Issue ID

745191

Regression

Yes

InstantiatePrefab is not instantiating prefab in OnPostprocessScene

Assets Management

-

To reproduce:
- Open the attached project
- Open the scene "testScene"
- Hit Play

Expected behavior: instantiated prefab
Actual behavior: prefab is not instantiated and appeared "ArgumentException: Destination scene is not loaded" error in console

Note: works fine in Start() or when using Instantiate() method

Regression from: 5.3.0b2
In 5.3.0b3, 5.3.0b4 it causes crash

Add comment

Log in to post comment