Search Issue Tracker
Duplicate
Votes
0
Found in
2018.3.0b1
Issue ID
1081094
Regression
No
ArgumentException is thrown when leaving Prefab Edit mode during Script compilation
How to reproduce:
1. Open the attached "TestFor1081094.zip" project
2. Select GameObject Prefab from the Assets folder
3. In the Inspector window click Open Prefab
4. Add a new Script Component to the Prefab
5. While the Script is being compiled leave the Prefab Edit mode and Discard Changes
6. Observe the errors in the Console window
Expected result: no errors are thrown when leaving Prefab Edit mode
Actual result: ArgumentException errors are thrown when leaving Prefab Edit mode
Reproducible with: 2018.2.0x-ImprovedPrefabs, 2018.3.0b3, 2019.1.0a2
Note: Auto Save should be disabled in the Prefab Edit mode
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
- Crash on RaiseException when opening a specific project
- 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
This is a duplicate of issue #1083386