Search Issue Tracker

Not Reproducible

Votes

0

Found in

2018.2.5f1

Issue ID

1074023

Regression

No

Scheduling NativeArray batch of uninitialized RaycastCommands causes crash on RaycastCommandJob

Scripting

-

How to reproduce:
1. Open the "RayCastCommand.zip" project
2. Open the "SampleScene.unity" scene
3. Press Play

Actual result: Unity crashes.

Reproducible with: 2018.2.6f1, 2018.1.9f2.
Not reproducible with: 2018.3.0a11, 2018.3.0a1.

Notes:
The array of commands has to be not fully initialized to reproduce the crash.
The crash happens when commands NativeArray uses UninitializedMemory NativeArrayOptions.
The crash happens at test.cs: line 21.

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.