Search Issue Tracker

Fixed in 0.11.0-preview.44

Votes

0

Found in [Package]

0.11.0-preview.42

Issue ID

1312138

Regression

Yes

[Hybrid Renderer] Error is spamming to the console when RenderMesh component is removed at Authoring

Package: DOTS Hybrid Renderer

-

Reproduction steps:
1. Open the attached project ("case_1327493-HybridRendererBug.zip")
2. Open the "SampleScene" scene
3. Add "ENABLE_HYBRID_RENDERER_V2" Scripting define (Project Settings->Player->Script Compilation)
4. Enter Play mode

Expected result: Errors are printed once
Actual result: Console is spammed with errors:
System.IndexOutOfRangeException: Index {0} is out of range of '{1}' Length.
Thrown from job: Unity.Rendering.UpdateAllHybridChunksJob
...
ArgumentOutOfRangeException: sub array range 0-0 is outside the range of the native array 0--1
Parameter name: length
...

Reproducible with: Hybrid Renderer 0.11.0-preview.42 (2020.3.4f1, 2021.1.3f1)
Not reproducible with: Hybrid Renderer 0.3.5-preview.15, 0.10.0-preview.21 (2019.4.24f1, 2020.3.4f1, 2021.1.3f1)
Could not test with: 2018.4.33f1 (Package is not available), 2021.2.0a12 (multiple package incompatability errors)

  1. Resolution Note (fix version 0.11.0-preview.44):

    Fixed with Hybrid Renderer 0.11.0-preview.44 (2020.3.2f1)

Add comment

Log in to post comment

All about bugs

View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.