Search Issue Tracker
Won't Fix
Votes
0
Found in
6000.2.0b10
6000.3.0a2
6000.4.0a1
Issue ID
UUM-111818
Regression
No
Assertion failed on expression IsWithinMaxAllocationSize error logged when baking APVs in a URP Project
Steps to reproduce:
- Open the attached Project
- Open Scene "Arena_v1_MP_Prototype"
- Select "Adaptive Probe Volume" in the Hierarchy
- In the Inspector click on "Bake Probe Volumes"
Actual results: While baking, the Editor throws error "Assertion failed on expression: 'IsWithinMaxAllocationSize(openCLState, numItem)'
System.Threading.ThreadHelper:ThreadStart ()"
Expected results: No issues when baking or informative message is present
Reproducible with versions: 6000.2.0b10, 6000.3.0a2
Can’t test with versions: 2022.3.64f1, 6000.0.54f1, 6000.1.12f1 (Downgrading problems)
Tested on (OS): Windows 11
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
- WebGPU performance regression
- Addressables Report window UI is broken when opening via Build > New Build > Default Build Script
- Addressables Profiles window UI break when creating a new Variable with a long name
- No character limit when renaming Profile in Addressables Profile window, allowing excessively long names
- Blurry, low quality Active Profile icon used in Addressables Profiles window
Resolution Note:
Your bug report has been closed with the resolution "Won't Fix."
Resolution Notes: The assertion failure you are experiencing occurs because the current Lightmapping Settings generate intermediate albedo and emission buffers that are too large for your GPU's OpenCL driver to handle. This is a hardware and configuration limitation rather than a software defect.
The setting controlling this behavior is Lightmap Resolution, which affects lightmaps generated by the Baked Global Illumination system. For APV baking, this setting is used to generate an internal lightmap for capturing scene information. A high resolution is often unnecessary for this purpose and can lead to excessive memory consumption.
Recommended Solution: To resolve this issue, lower the Lightmap Resolution value in the Lighting window (Scene tab > Lightmapping Settings). Reducing this from the default of 40 to a smaller value (such as 8) will decrease the size of the internal baking buffers, allowing the bake to complete successfully within your GPU's memory limits.