Search Issue Tracker
Not Reproducible
Fixed in 2020.1.X, 2020.2.X
Votes
1
Found in
2018.3
2020.1.8f1
2020.2.0b2
2020.2.0b6
Issue ID
1284818
Regression
No
Incorrect/mismatched defines in Editor code
Looks like we have incorrect defines on a few 2020 versions.
UNITY_2020_1_OR_NEWER is NOT defined on 2020.1.x
UNITY_2020_OR_NEWER is defined on 2020.1.x
UNITY_2020_1_OR_NEWER is defined on 2020.2.x
UNITY_2020_OR_NEWER is NOT defined on 2020.2.x
To repro, try this on a few 2020.x.x versions and make a MonoBehaviour with something like this in OnEnable
#if UNITY_2020_1_OR_NEWER
Debug.Log("UNITY_2020_1_OR_NEWER");
#elseif UNITY_2020_OR_NEWER
Debug.Log("UNITY_2020_OR_NEWER");
#else
Debug.Log("neither");
#endif
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- [APV] Cancelling Display Dialog Error is thrown after Adaptive Probe Volumes tab is open in Lighting Window
- [APV] NullReferenceException is thrown when baking Adaptive Probe Volume for a Terrain with Non-GI Contributing Tree Prototypes and multiple APV objects with different LayerMasks are present on the scene
- Hands are not recognized when using Hololens 2
- "OnTriggerExit2D" is called before "OnTriggerEnter2D" when object is destroyed immediately
- Editor crashes on PrepareSpriteTilingData when exiting Play mode
Add comment