Closed AndrewCarvalho closed 3 years ago
I added the UNITY_2020_1_0 to the list of version not included in UNITY_2020_1_5_OR_NEWER as I am not sure how removing the override may effect other version of Unity and this seemed safer.
:tada: This issue has been resolved in version 1.3.4 :tada:
The release is available on GitHub release
Your semantic-release bot :package::rocket:
Description The package does not function on 2020.1.0 (and possibly 2019.X.0)
To Reproduce
Expected behavior The package should not throw errors
Environment
Additional context I've tracked this down to the InternalBridge class which overrides the provided unity preprocessor macros for checking the version. There are explicit checks for multiple versions of unity but the UNITY_2020_1_0 revision is missing from the list.
I'm unsure as to why the define needs to be overridden (I haven't done thorough testing with old version) but removing the override od UNITY_2020_1_5_OR_NEWER solves the issue.