Search Issue Tracker

Active

Under Consideration for 2021.3.X, 2022.3.X, 6000.0.X

Votes

0

Found in

2021.3.43f1

2022.3.45f1

6000.0.17f1

Issue ID

UUM-79115

Regression

No

Unity Mono Release mode JIT causes an error when using a MemoryMappedFile

--

-

How to reproduce:
1. Make sure the attached “test.bin“ is installed
2. Open the “IN-80870_repro“ project
3. Open the “MemoryMappedFileExample.cs“
4. Change the path at line 12 to the path of the “test.bin“ file
5. Open “SampleScene“ and enter Play Mode
6. Observe the Console

Expected result: Errors are not thrown
Actual result: “NullReferenceException“ error is thrown

Reproducible with: 2021.3.43f1, 2022.3.45f1, 6000.0.17f1

Reproducible on: Windows 10, Windows 11
Not reproducible on: No other environment tested

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.