Search Issue Tracker
Fixed in 2019.2.X
Fixed in 2019.1.X
Votes
0
Found in
2019.1.0b1
2019.1.0b8
Issue ID
1139579
Regression
Yes
Using Mathf.Infinity in Attribute throws an IL2CPP error when building APK for Android using IL2CPP backend
To reproduce:
1. Open the attached project.
2. Switch platform to Android
3. Build using IL2CPP
Expected: Build succeeds
Actual: Build fails with the IL2CPP error
(error: no member named 'numeric_limits' in namespace 'std')
Reproduced with: 2019.1.0b1, 2019.1.0b9, 2019.2.0a10
Not reproduced with: 2018.3.11f1, 2019.1.0a14,
Regression started in: 2019.1.0b1
Comments (1)
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
- Crash on ConstraintProjectionTree::projectionTreeBuildStep when ConfigurableJoint uses JointProjectionMode.PositionAndRotation and connected Rigidbody switches from kinematic to non-kinematic
- ScriptableObject asset is accessed during the lookup of Build Profiles when opening the Build Profiles Window
- [Multiplayer TPS Sample] Grenade launcher explosion misses the Player when the Collider count exceeds HitColliderBuffer
- OS Notification Documentation is missing when following hyperlink in Notifications Settings in Hub
- Canvas Scaler sets local transforms (Position, Rotation, Scale) to 0 when Canvas is edited in Prefab Mode
Peter77
Apr 09, 2019 05:26
Related forum thread:
https://forum.unity.com/threads/case-1139579-using-mathf-infinity-makes-il2cpp-compile-error.648922/