You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
[Bug] Unity 6000.5 compilation fails on GetInstanceID and int AssetDatabase APIs #245
Graphics Tools 0.8.1 does not compile with Unity 6000.5 because Unity changed UnityEngine.Object.GetInstanceID() and the AssetDatabase.TryGetGUIDAndLocalFileIdentifier(int, ...) overload from obsolete warnings to obsolete errors.
This blocks Editor compilation before entering Play Mode or building the project.
Runtime/MeshCombiner/MeshUtility.cs(308,115): error CS0619: 'Object.GetInstanceID()' is obsolete: 'GetInstanceID is deprecated. Use GetEntityId instead. This will be removed in a future version.'
Runtime/Utilities/MaterialRestorer.cs(75,76): error CS0619: 'Object.GetInstanceID()' is obsolete: 'GetInstanceID is deprecated. Use GetEntityId instead. This will be removed in a future version.'
Runtime/Utilities/MaterialRestorer.cs(75,29): error CS0619: 'AssetDatabase.TryGetGUIDAndLocalFileIdentifier(int, out string, out long)' is obsolete: 'Please use TryGetGUIDAndLocalFileIdentifier(EntityId, out string, out long) with the EntityId type instead.'
Activity