Search Issue Tracker
Fixed in 2019.3.X
Fixed in 2019.2.X
Votes
1
Found in
2019.2.0b6
2019.2.0b7
2019.3.0a6
Issue ID
1169942
Regression
Yes
Applying Import Setting changes while in Play Mode throws an AssetDatabase.ForceReserializeAssets exception
How to reproduce:
1. Open user-submitted project (Unity2019Test3)
2. Enter Play Mode
3. Select the 'test' asset in the Project window
4. Change some Import Settings(e.g. Max Size) and click 'Apply'
Expected result: the changes are applied, no errors are thrown
Actual result: "Exception: AssetDatabase.ForceReserializeAssets cannot be used when in play mode" error is thrown
Reproducible with: 2019.2.0b6, 2019.2.0b10, 2019.3.0a6, 2019.3.0a10
Not reproducible with: 2017.4.30f1, 2018.4.4f1, 2019.1.11f1, 2019.2.0b5, 2019.3.0a1, 2019.3.0a5
Notes:
Also reproduced with .fbx asset
Comments (1)
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
- DownloadHandlerScript.CompleteContent is called twice when building for WebGL
- Scene view has Y coordinates of the Screen Position node flipped when some of the URP features are disabled
- Volumetric fog shader variants are missing from build when "Strict Shader Variant Matching" is disabled
- Unnecessary modifications clutter the Scene when using a RectTransform driven by a LayoutGroup in a Prefab
- Files in the target folder are deleted without a proper warning when building an iOS project
joshcamas
Aug 20, 2019 04:38
For now, while we're waiting for the fix in 2019.2, manually reimporting the asset in question after this error is thrown works :)