Search Issue Tracker
Fixed in 2021.1.X
Fixed in 2020.2.X
Votes
3
Found in
2019.2.0a9
2019.3.8f1
2019.4
2020.1
2020.2
Issue ID
1264055
Regression
Yes
Texture Assets are reimported when the launched Editor is recovering from an unexpected close if there were compilation errors
How to reproduce:
1. Open user-submitted project (TextureReImportTest.zip)
2. Open the Assets/Scripts/BreakTheTextures.cs script
3. Uncomment the 'broken!' line and let the Editor recompile scripts
4. Force-quit the Editor by ending the task
5. Launch the project again and note the loading process
Expected result: the textures are not reimported because nothing changed
Actual result: the textures are reimported
Reproducible with: 2019.2.0a9, 2019.4.5f1, 2020.1.0f1, 2020.2.0a18
Not reproducible with: 2018.4.25f1, 2019.2.0a8
Notes: reproducible with ADBV1 and ADBV2
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
- Required SpriteMask class (ID 331) is stripped when "Strip Engine Code" is enabled
- “Maximized serialized file backup not found” error is thrown when minimizing a window in a newly opened project
- Build stack trace contains invalid lines when building with IL2CPP using scripts with delegates containing generic types in the signature
- Entities Systems window has a “Show Full Player Loop” dropdown which does nothing when clicked after enabling “Show Full Player Loop”
- Entities Hierarchy Search “Show/Hide” button’s Lens Icon is blurry when the Editor is on an external monitor
Resolution Note (fix version 2021.1):
The issue is the following:
1. User project successfully loads (Domain A)
2. User introduces compile error, domain is NOT reloaded (Domain A still loaded)
3. Editor is restarted
4. Partial domain (Domain B) is now loaded, but certain dependency checks depend on the full domain to be loaded (i.e. the postprocessorVersionHash)
5. Once compilation errors are fixed during Safe Mode, domain is loaded (Domain A) and dependencies match so nothing is imported
6. Without Safe Mode we would see this behaviour though.
Recommended workaround:
1. Don't shut down the editor when there are Compile Errors present if not on an Editor Version with SafeMode
Resolution Note (fix version 2020.2):
Fixed in 2020.2.0b3 by the introduction of Safe Mode, which is prompted when the project has script compilation errors