Search Issue Tracker
In Progress
Fix In Review for 6000.0.59f1, 6000.2.6f1
Fixed in 6000.3.0a3
Votes
0
Found in
6000.0.47f1
6000.1.0b15
6000.2.0a9
6000.3.0a1
Issue ID
UUM-103688
Regression
Yes
NullReferenceException Occurs When Baking APV with GPU Streaming Enabled
Steps to reproduce:
1. Open the attached user's project "UnityBugReproduce-bug-apv_bake_with_streamin.zip"
2. Open the "Assets/apv_bake_with_streamin/apv_bake_with_streamin.unity" scene
3. Open the Lighting Window and select the Adaptive Probe Volumes tab
4. Click the "Generate Lighting" button
5. Select "Assets/Settings/PC_RPAsset"
6. In the "Light Probe System" section, disable "Enable GPU Streaming."
7. Click the "Generate Lighting" button again
8. Confirm that the error does not occur
Expected Results: NullReferenceException is not printed
Actual Results: NullReferenceException is printed when generating Lighting with GPU Streaming enabled
Reproducible with: 6000.0.0b15 (8008bc0c1b74), 6000.0.47f1, 6000.1.0b15, 6000.2.0a9
Not reproducible: 6000.0.0b14 (7e2d2d32ab03)
Could not effectively test on 2021.3.51f1, 2022.3.61f1 due to APV not existing in the Lighting setting
Environment tested: Windows 11 24H2
Notes:
-Exception:
NullReferenceException: Object reference not set to an instance of an object
Unity.Collections.NativeArray`1[T].CopySafe (Unity.Collections.NativeArray`1[T] src, System.Int32 srcIndex, T[] dst, System.Int32 dstIndex, System.Int32 length) (at <1e74f08236fb4c1791a523c0bf197e6c>:0)
Unity.Collections.NativeArray`1[T].Copy (Unity.Collections.NativeArray`1[T] src, T[] dst, System.Int32 length) (at <1e74f08236fb4c1791a523c0bf197e6c>:0)
Unity.Collections.NativeArray`1[T].ToArray () (at <1e74f08236fb4c1791a523c0bf197e6c>:0)
UnityEngine.Rendering.AdaptiveProbeVolumes.GetBricksFromLoaded () (at ./Library/PackageCache/com.unity.render-pipelines.core@b1fa9fba9fd6/Editor/Lighting/ProbeVolume/ProbeGIBaking.Placement.cs:263)
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- Changing "PreWarm" parameters on VFX Graph leads to significant performance drops and freeze
- Player display resolution changes to the native resolution of the monitor when Player becomes unresponsive
- [Quest] Game View is no longer rendered in the HMD if it's hidden in the Editor when using Meta Link
- Unity auto-generates code it can't compile when classes are renamed
- Terrain's "Grass Tint" Color picker has Alpha 0 by default
Add comment