Search Issue Tracker
Fixed in 2020.1.X
Fixed in 2019.2.X, 2019.3.X
Votes
0
Found in
2019.1.0a9
2019.2.0a1
2019.2.0f1
2019.3.0a1
Issue ID
1176124
Regression
Yes
"GLSL: Shader cannot be patched for instancing." is thrown when selecting terrain with "Draw Instanced" enabled on OpenGL API
How to reproduce:
1. Make sure project's Library is deleted
2. Open attached project "TestTerrain.zip" and scene "SampleScene"
3. Make sure that the Edit -> Project Settings -> Player -> Other Settings -> Graphics API is set to OpenGLCore, OpenGLES2 or OpenGLES3
4. In Hierarchy window, select "Terrain" object
5. Observe Console window
Expected result: no errors are thrown
Actual result: "GLSL: Shader cannot be patched for instancing." error is thrown
Reproducible with: 2019.1.0a9, 2019.1.14f1, 2019.2.1f1, 2019.3.0a12
Not reproducible with: 2017.4.31f1, 2018.4.6f1, 2019.1.0a8
Comments (1)
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
- ACES Tonemapping causes banding artifacts and negative values in ColorGradingLUT when HDR is enabled and "High Dynamic Range" Grading mode is selected while Android Platform is used
- Android Player freezes when an Audio Source is playing and an incoming call is picked up and then hung up and the Audio Source is started again
- Green success icon is poorly visible in the light Unity theme
- Incorrect input into the Input Field when using Microsoft IME Japanese
- Multiplayer role "ClientAndServer" is displayed without the spaces in the "Play Mode Scenarios" window
JxWolfe
Apr 09, 2020 16:00
I have been working on a unity project recently. I everything was working fine, I closed down unity, and upon opening it, I have had a "GLSL: Shader cannot be patched for instancing.
UnityEngine.GUIUtility:ProcessEvent(Int32, IntPtr)" error. Opening the error file results in an empty file. Do I need to reimport this somehow? how would I go about doing that? (Issue claims to be fixed. I'm running 2019.3.8f1 Personal.