Search Issue Tracker
In Progress
Under Consideration for 6000.0.X, 6000.1.X, 6000.3.X
In Progress in 6000.2.X
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
- Assigned font's bold/font-weight styles render using Default Font's assets when Default Font has corresponding style assets defined in TMP Settings
- "Modifying the parent of a VisualElement while it’s already being modified is not allowed" error is thrown when entering text and pressing tab in the Search window
- Mesh colliders are not updating their positions of bounds correctly
- Images are missing from the "Open the sprite editor" documentation for 6.0, 6.1 and 6.2
- The previous element in the array is modified when assigning an Asset to a new element of AssetReferenceT
Add comment