Search Issue Tracker
Duplicate
Votes
2
Found in
2019.2.0a12
2019.3.0a1
2019.3.0a4
Issue ID
1157266
Regression
Yes
Exception thrown while invoking [OnOpenAssetAttribute] method when opening a script with 'Open by file extension' setting
How to reproduce:
1. Open submitted project(ScriptException)
2. Open Unity > Preferences > External Tools and set the 'External Script Editor' to 'Open by file extension'
3. Double-click on the 'NewBehaviourScript.cs' script
Expected result: script opens without any errors
Actual result: script opens, but two errors get displayed in the Console window
Reproducible with: 2019.2.0a12, 2019.2.0b9, 2019.3.0a9
Not reproducible with: 2017.4.27f1, 2018.4.4f1, 2019.1.9f1, 2019.2.0a11
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
Add comment