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
- [Android] Stage information is not logged when Log Shader Compilation is enabled
- [Vulkan] The memory allocation increases rapidly when there are multiple (three or more) Real-Time Reflection Probes in the Scene
- [macOS] Library folder of the opened project can be deleted which leads to the crash
- “Default Scene” dropdown field contains a spelling mistake “Default Builtin”
- Editor crashes on PPtr<Mesh> after adding Text Mesh and Cloth Components to the same GameObject
Add comment