Search Issue Tracker

Fixed

Fixed in 2021.3.30f1, 2022.3.9f1, 2023.1.11f1, 2023.2.0b7, 2023.3.0a1, 2024.1.0a1

Votes

0

Found in

2021.3.28f1

2022.3.4f1

2023.1.3f1

2023.2.0a21

2024.1.0a1

Issue ID

UUM-41406

Regression

No

IL2CPP build returns incorrect results when using Pointer Arithmetic

--

-

How to reproduce:
1. Open the user-attached project “TestUnityProject”
2. Open the “IL2CPP_pointer_arithmetic_bug_report” scene
3. Click Build And Run
4. Observe the displayed result

Expected result: The returned result is 125
Actual result: The returned result is a random big number

Reproducible with: 2021.3.28f1, 2022.3.4f1, 2023.1.3f1, 2023.2.0a21

Reproducible on: Windows 11 Pro

Note: Not reproducible in Mono build

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.