Search Issue Tracker
Fixed
Fixed in 2022.2.13f1, 2023.1.0b10
Votes
0
Found in
2022.2.1f1
2023.1.0a23
Issue ID
UUM-21617
Regression
No
[BOC] Entities Graphics Occlusion shader throws errors when building the project
How to reproduce:
1. Open the attached “repro-project.zip“ project
2. Build the project
3. Observe the Console
Expected result: The Build is finished.
Actual result: The Build is interrupted and errors are thrown in the Console.
Reproducible with: 2022.2.1f1 (1.0.0-pre.15), 2023.1.0a23 (1.0.0-pre.15)
Could not test with: 2020.3.42f1, 2021.3.15f1 (Entities-Graphics is not supported)
Reproducible on: Windows 10, macOS 11.6.5 (Intel)
Errors:
Shader error in 'Hidden/OcclusionDebugOccluders': 'UnitySetupInstanceID': no matching 1 parameter function at line 62 (on d3d11)
Shader error in 'Hidden/OcclusionDebugOccluders': invalid subscript 'instanceID' at line 62 (on d3d11)
Notes:
- The project uses the occlusion define in Project Settings > Player > Scripting Define Symbols
- The project has the MockHMD package installed
* and enabled in Project Settings > XR Plugin Management > Desktop tab
The project has openGL included in the API list for macOS / Windows in Project Settings > Player > Other Settings
- No repro when:
** The MockHMD package is not installed
* The openGL core is removed from the API list and then the editor restart
Still repros when:
** Project Settings > URP Global Settings > Strip Debug Variants is ON
* occlusion define removed from project settings*
** either option for the render mode dropdown in Project Settings > XR Plugin Management > MockHMD
** Project Settings > XR Plugin Management > Initialise on Startup is OFF
** Or, MockHMD is disabled in the plugin providers list
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
- URP Decal Projectors don't render when they are hidden in the Hierarchy, unlike other GameObjects
- Reflection Probe “adjusting number of stops to over or under expose the texture” setting does not update in Scene realtime
- UI Toolkit rendered text breaks when toggling FontWeight styles through code
- Transparent pixels are still hit when alphaHitTestMinimumThreshold is set to a non-zero value
- Unity CIL Linker fails on Player build when persistent listeners have "<" and ">" in their XML attribute names
Resolution Note (fix version 2023.1.0b10):
Fix is available in Entities Graphics 1.0.8
Could not verify with 2023.2 due to a known issue.
Fix was verified with 2022.2.19f1 and Entities Graphics 1.0.8
Resolution Note (fix version 2022.2.13f1):
Fix is available in Entities Graphics 1.0.8
Fix was verified with 2022.2.19f1 and Entities Graphics 1.0.8