Search Issue Tracker
Fixed in 0.8.0-preview.8
Votes
2
Found in [Package]
0.6.0-preview.7
Issue ID
1313547
Regression
No
Writing bytes to the driver when packet's size is 1386/1387/1388 fails and Unity crashes
Reproduction steps:
1. Open the user's attached project and Scenes/SampleScene scene
2. In the Hierarchy window, select Server GameObject
3. In the Inspector window, disable PadPacketsOfBadLength
4. Enter the Play mode
Expected result: Writing bytes to the driver when packet's size is 1386, 1387 or 1388 succeeds and Unity doesn't crash
Actual result: Writing bytes to the driver when packet's size is 1386, 1387 or 1388 fails and Unity crashes
Reproducible with: (0.6.0-preview.7) 2020.2.4f1, 2021.1.0b7, 2021.2.0a5
Could not test with: 2018.4.32f1 (Unity Transport is not available), 2019.4.20f1 (could not downgrade Unity Transport package)
Notes:
1. Errors from the Editor.log:
"Error whilst writing bytes to driver (size=1386) - see below exception.",
"System.InvalidOperationException: System.NullReferenceException: Object reference not set to an instance of an object
This Exception was thrown from a function compiled with Burst, which has limited exception support.
Stacktrace truncated - please add `Debug = true` to BurstCompile.
0x00007ff6eb1caffd (Unity) burst_signal_handler
0x00007ff9f64a83dc (ntdll) RtlDeleteAce
0x00007ff9f647b406 (ntdll) RtlRaiseException
0x00007ff9f64cfe3e (ntdll) KiUserExceptionDispatcher
0x00007ff9ab1a12b0 (a54e8b170e4c6a40f23838b19e1d51b) burst.initialize0"
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
- Redoing creation of Sub Scenes and Cube GameObjects in Hierarchy throws “Assertion failed on expression: 'targetScene != nullptr’” error in Console window
- Selecting “New Sub Scene” after assigning “New Scene” in Sub Scene Script Component throws “Destroying GameObjects immediately is not permitted” in the Console window
- Shader Graph "Zoom Step Size" can be set to 0 even though the zoom still works
- Enabling/Disabling the Deprecated Nodes doesn't apply to the opened Shader Graph unless any Variable is added to the Blackboard
- Group Selection title text size is smaller in renaming than the actual font size
Resolution Note (fix version 0.8.0-preview.8):
Fixed in Unity Transport 0.8.0-preview.8