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
- “Remove Unused Overrides” available on not loaded Scene and throws “ArgumentException: The scene is not loaded” warning
- Adaptive Probe Volume occlusion edge is calculated incorrectly when viewing probes near geometry edges
- Sampling a texture using an HLSL file throws shader errors and the code does not compile
- "Graphics.CopyTexture called with null source texture" error when Base Camera of an Overlay Camera is removed with DX11 Graphics API and Compatibility Mode enabled
- WebGL sends wrong value with large numbers when SendMessage function is used
This is a duplicate of issue #1083386