Search Issue Tracker
Fixed
Votes
0
Found in
Issue ID
803257
Regression
No
Enum.ToString is broken for large unsigned enums
Given this code, .NET outputs the enum value names correct. IL2CPP does not:
using System;
class Program
{
[Flags]
enum MyFlags : uint
{
One = 1,
BigNumber = 2448949181
}
static void Main()
{
Console.WriteLine(MyFlags.One);
Console.WriteLine(MyFlags.BigNumber);
}
}
>csc test.cs
>test.exe
One
BigNumber
>il2cpp test.exe --outputpath=test_il2cpp.exe
>test_il2cpp.exe
One
2448949181
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- Inconsistent capitalization and misaligned text in multiple query blocks in Search window
- “Remove Unused Overrides” available on not loaded Scene and throws “ArgumentException: The scene is not loaded” warning
- Adaptive Probe Volume occlusion edge is calculated incorrectly when viewing probes near geometry edges
- WebGL sends wrong value with large numbers when SendMessage function is used
- Add Behaviour dropdown has a part in which the dropdown outline is cut out when the Add Behaviour dropdown is opened
Add comment