Select to view content in your preferred language

Math library required for Unity plugin is not compiling

512
2
06-14-2022 05:56 PM
yohanbaillot
New Contributor II

When using the latest 1.0.0 plugin using Unity 2021.1.07a (required for MagicLeap2 development) the library Mathematics 1.2.6 which is a dependency of the plugin is having an issue which prevent any run or compilation even in the editor on Mac 

Library/PackageCache/com.unity.mathematics@1.2.6/Unity.Mathematics.Editor/PrimitiveVectorDrawer.cs(101,96): error CS0122: 'EditorGUI.PropertyVisibility' is inaccessible due to its protection level

The solution provided by Unity is to roll back to 1.2.4 however the library option are greyed out and cannot be changed as it seems ArCGIS plugin is constraining that version 

0 Kudos
2 Replies
Matt_Nelson
Esri Contributor

Can you try updating the package-lock.json file to update our plugin dependency for the mathmatics library. I just got my hands on a magic leap and I'll be doing testing on that next week.

0 Kudos
yohanbaillot
New Contributor II

Hi Matt, yes that is exactly what I did shortly after posting the request as a short term fix and that works fine

0 Kudos