Search Issue Tracker
Fixed
Votes
0
Found in
2019.4
2019.4.9f1
2020.1
Issue ID
1274676
Regression
No
Project's Library gets corrupted when having a custom "Motion Vectors" Shader and a modified "UnityConnectSettings.asset" file
How to reproduce:
1. Open a new project
2. Create a Shader in the Project window (Create > Shader > Unlit Shader)
3. Go to Edit > Project Settings > Graphics
4. Change the Motion Vectors value from a Built-in Shader to a Custom Shader and select the previously created Unlit Shader
5. Through the Explorer navigate to the project directory
6. With a text editor program open the "UnityConnectSettings.asset" file (this .asset file can be found in the "ProjectSettings" folder)
7. Change all m_enabled values from "m_Enabled: 0" to "m_Enabled: 1"
8. Close the Editor and open the project again
Expected result: the project opens with a Console error "Loading builtin resources is forbidden when building them: Internal-Loading.shader
If it is really necessary you can add a exception case at this assert."
Actual result: Project does not load, the following error appears: "Fatal Error! Failed to load Editor resource file"
Reproducible with: 2019.4.12f1, 2020.1.9f1
Not reproducible with: 2018.4.28f1, 2020.2.0b6, 2021.1.0a1
Notes:
- Issue only happens when "UnityConnectSettings.asset" file is edited while the Editor is running
- A workaround is to delete the Library folder after this issue appears
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
- PolySpatial “Trying to set shader on a Material Variant.” error is printed in the console when entering Play Mode
- Error “Shader error in 'YSCloudCover': call to 'tex3D' is ambiguous at Assets/YSCloudCoverText.shader(606) (on d3d11)“ is present when compiling tex3D shader with DXC
- Placeholder asset is not loaded with Advertisement Legacy sample when using the latest version of the package
- Addressables content build fails but the Player build is successful when building a development build
- Out-of-bounds memory access with multiple CanvasRenderers under a Canvas when using Mesh API
Resolution Note:
Fixed in 2020.2.0b6 and 2021.1.0a1