Skip to content

Unity Roslyn REPL v0.8.2

Latest

Choose a tag to compare

@djdcks12 djdcks12 released this 26 Oct 02:12

[0.8.2] - 2026-10-26

Fixed (Unity 6.5+ EntityId)

  • The package failed to compile on Unity 6.5 and newer, where the obsolete InstanceID APIs are compile errors (CS0619: 'Object.GetInstanceID()' is obsolete: 'Use GetEntityId instead.'). Under UNITY_6000_5_OR_NEWER, ValueFormatter now prints a GameObject's GetEntityId(), and the Object Browser's MonoBehaviour Inspect / Insert into Code snippet now emits EditorUtility.EntityIdToObject(EntityId.FromULong(<raw>UL)) as T instead of InstanceIDToObject(<id>) as T. Without the snippet change the generated code would itself fail to compile on 6.5+. Older Unity versions keep the InstanceID code paths unchanged.