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
- "NullReferenceException" error is thrown when swapping between built-in and URP depending on assets loaded out of asset bundles
- Objects receive a black outline in Ray Traced Screen Space Reflections
- NullReferenceException Occurs When Baking APV with GPU Streaming Enabled
- Scene renders incorrectly when using RenderGraphUtils.AddCopyPass
- [URP] Searchable context menu instantly closes when attempting to open it
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