Search Issue Tracker

Won't Fix

Votes

0

Found in

5.2.1p1

Issue ID

732721

Regression

No

[CustomEditor] Editor script fails to instanitate a prefab when opening a project with custom window already open

IMGUI

-

Steps to reproduce:

1. Open the attached project
2. Click 'Tools/Custom editor' to open up custom editor
3. Notice it works as expected and shows the cube
4. Close Unity editor without closing the custom editor window
5. Reopen the project
6. Notice the editor script fails to load the cube prefab and throws 'ArgumentException: The prefab you want to instantiate is null.'

Workaround: Closing and reopening the custom window solves the issue.

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.