Search Issue Tracker
Fixed in 2020.1.X
Votes
0
Found in
2019.2.5f1
2019.2.8f1
Issue ID
1189045
Regression
Yes
[macOS] Exceptions are thrown when trying to open C# script in an external editor
How to reproduce:
1. Create and open a new project
2. Set the 'External Script Editor' to 'TextEdit' (in the Preferences window)
3. Create a new C# script and open it
4. Observe the Console window
Expected result: no exceptions are thrown
Actual result: two exceptions are thrown
Reproducible with: 2019.2.5f1, 2019.2.11f1
Not reproducible with: 2017.4.33f1, 2018.4.12f1, 2019.2.0a1, 2019.2.4f1, 2019.3.0b9, 2020.1.0a11
Thrown exceptions:
1) MissingMethodException: Attempted to access a missing method.
Unity.CodeEditor.CodeEditor.OSOpenFile (System.String appPath, System.String arguments)
2) Exception thrown while invoking [OnOpenAssetAttribute] method ‘Unity.CodeEditor.CodeEditor:OnOpenAsset (int,int,int)’ : MissingMethodException: Attempted to access a missing method.
Unity.CodeEditor.CodeEditor.OSOpenFile (System.String appPath, System.String arguments)
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- Mono Windows Builds don't produce full log callstacks when generating logs
- AssetBundles fail to load when running in Built Players for Mobile Devices
- UI elements with text gets bigger and grey when Player window is moved to another screen with different resolution
- System name accepts multiline text but crops it on confirmation, duplicates input, and shrinks the field when empty
- UI element scale and position are wrong in project build when DRS is changed with HDR and Software Dynamic Resolution enabled
Add comment