Search Issue Tracker
Active
Under Consideration for 6000.0.X, 6000.1.X, 6000.2.X
Votes
0
Found in
6000.0.47f1
6000.1.0b15
6000.2.0a9
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
- Crash on [NSApplication endModalSession:] when saving while Play Mode is loading
- Incorrect Preferred Height calculation when a single text line uses different Font Assets
- [ShaderGraph] Redo Collapse Nodes action does not fully collapse the Nodes
- [Ubuntu] Mouse cursor is set box select mode after exiting VFX Graph's Rename Context function
- Unrecognized identifier DECLARE_STACK_CB error is thrown when VirtualTexture Property is used with Custom RenderTexture target
Add comment