Search Issue Tracker

Not Reproducible

Votes

0

Found in

2018.4

2018.4.10f1

2019.2

2019.3

Issue ID

1190328

Regression

No

Prefabs that depend on scripts that are a part of asmdefs with define constraints don't automatically reimport

Scripting

-

To reproduce:
1) Open the attached project
2) Click on TestAssembly/SomeScript and notice it says "No MonoBehaviour scripts in the file..."
3) Click on SomeScriptPrefab and notice that it says the "Prefab has missing scripts"
4) Go to PlayerSettings and set the define ENABLE_ASSEMBLY; Scripts will recompile
5) Reselect SomeScriptPrefab when recompiling ends

Actual: Notice that the "Object Reference" points to nothing

6) Reimport SomeScriptPrefab

Expected: SomeScriptPrefab now points to the correct reference

Reproduced in 2018.4.9f1, 2019.2.0b1, 2020.1.0a8

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.