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
- [MacOS] Invalid Code Signing Entitlements errors appear when signing MacOS project for App Store
- Missing UNITY_MATRIX_IT_MV definition in HDRP shaders
- ScrollRect panel not resizing correctly to fit text
- Scroll bar doesn't show full text
- [Linux] AutoLocale: current locale expects 'C' but got error is thrown when starting a project
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