Search Issue Tracker
Fixed in 2018.3.X
Votes
2
Found in
2018.3.0b2
Issue ID
1085026
Regression
No
[Jobs][Editor] "readonly" modifier on a Native Collection inside Jobs causes a misleading Exception message
To reproduce:
1. Download attached project "SkinRaycast.zip" and open in Unity
2. Open "Demo" scene
3. Enter Play mode
4. Observe that in Console there will be spammed lots of misleading exceptions:
"InvalidOperationException: The native container has been declared as [WriteOnly] in the job, but you are reading from it."
5. Open Assets/SkinRaycasts/Jobs/RaycastJob.cs and remove "readonly" modifier (not the attribute) from line 13
6. Enter Play mode
7. Observe that no Exception is printed in Console
Notes:
- This issue appears on Windows and OSX
- In Standalone it seems that everything works fine
Reproduced on Unity 2018.2.10f1, 2018.3.0b4 and 2019.1.0a2
Could not check for regression on Unity 2018.1 because the whole project becomes corrupted
Add comment
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- Editor crashes on StoredGraphicsBuffer::GetGfxBufferID when VFX Graph property is modified during Play Mode and Application.targetFrameRate is used to limit FPS
- Crash on NVAPI_Thunk when changing Player resolution while HDR display is used and Direct3D12 is set as the graphics API
- Only one out of multiple cameras is shown in the Play Mode while HDR display is used and Direct3D12 is set as the graphics API
- The "Paste Component as New" option is incorrectly displayed as active despite the action being prohibited
- "TLS Allocator ALLOC_TEMP_TLS" errors are thrown when unsuccessfully importing an FBX file
Resolution Note (fix version 2018.3):
Fixed in 2020.1.0a3