Search Issue Tracker
Won't Fix
Fixed in 2019.4.X
Votes
0
Found in
2019.3.0b1
2019.3.0b2
2020.1.0a2
Issue ID
1189527
Regression
Yes
[Mac] Pop-up warning window stating "The document "X" could not be opened." is thrown when trying to open a script with TextEdit
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 try to open it
Expected result: the script successfully open in TextEdit
Actual result: script does not open, a pop-up warning window is thrown
Reproducible with: 2019.3.0b2, 2019.3.0b6, 2020.1.0a2, 2020.1.0a8
Not reproducible with: 2017.4.33f1, 2018.4.11f1, 2019.2.8f1, 2019.3.0a1, 2019.3.0b1, 2020.1.0a1
Full text of the warning window: "The document "[script name]" could not be opened. You don't have permission. To view or change permissions, select the item in the Finder and choose File > Get Info."
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
- Texture2D hash changes inside of an AssetBundle when rebuilding a SpriteAtlas bundle with an empty AssetPostprocessor Script enabled
- Aniso Level still applies when Generate MipMap is disabled in Texture Import Settings
- Mipmap Limit Groups long names are not truncated when creating a new Mipmap Limit Group with a long name
- “ArgumentException: Invalid double parameter.” error is thrown when Infinity is typed into the Fixed Timestep field
- GameObject becomes gray when using HDRP and STP together on macOS
Resolution Note (2020.2.X):
Closed as won't fix since TextEdit is an unsupported code editor. If you would like to implement support yourself, you can use the following API:
https://docs.unity3d.com/ScriptReference/Unity.CodeEditor.IExternalCodeEditor.html
Once the interface has been implemented; it can be registered during InitializeOnLoad using the following API:
https://docs.unity3d.com/ScriptReference/Unity.CodeEditor.CodeEditor.Register.html
Resolution Note (fix version 2019.4):
Closed as won't fix since TextEdit is an unsupported code editor. If you would like to implement support yourself, you can use the following API:
https://docs.unity3d.com/ScriptReference/Unity.CodeEditor.IExternalCodeEditor.html
Once the interface has been implemented; it can be registered during InitializeOnLoad using the following API:
https://docs.unity3d.com/ScriptReference/Unity.CodeEditor.CodeEditor.Register.html