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
- "Shader warning in 'Hidden/Light2D': implicit truncation of vector type" is thrown when building Universal 2D template
- AI Assistant breaks compilation of packages using System.Runtime.CompilerServices.Unsafe via auto-referencing
- Unity Hub checks the "Documentation" module by default on the 6.4 and 6.5 streams despite that it was unchecked with the previous installs
- Shortcut that toggles between Dopesheet and Curves Views in the Animation Window's Timeline is mislabed
- Property List Items Overlap onto the Property List's top edge when scrolling through a long Property List
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