Skip to content

[Other]: Unity 6000.3: System.MissingMethodException: Method not found: 'System.String UnityEngine.SceneManagement.Scene.GetNameInternal(Int32)'. #94

@ModsOfPantheon

Description

@ModsOfPantheon

Describe the issue

Scene.GetNameInternal has changed signature at some point around Unity 6000.3.

Exception

[08:31:30.921] [UnityExplorer] [UniverseLib] Exception invoking onInitialized callback! System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation.
 ---> System.MissingMethodException: Method not found: 'System.String UnityEngine.SceneManagement.Scene.GetNameInternal(Int32)'.
   at UnityExplorer.ObjectExplorer.SceneHandler.Init()
   at UnityExplorer.ExplorerCore.LateInit()
   --- End of inner exception stack trace ---
   at System.RuntimeMethodHandle.InvokeMethod(Object target, Span`1& arguments, Signature sig, Boolean constructor, Boolean wrapExceptions)
   at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
   at System.Delegate.DynamicInvokeImpl(Object[] args)
   at UniverseLib.Universe.InvokeOnInitialized(Action onInitialized) in D:\a\UnityExplorer\UnityExplorer\UniverseLib\src\Universe.cs:line 145

GetNameInternal now has a signature GetNameInternal(SceneHandle sceneHandle).
Where SceneHandle has a property public EntityId m_Value;, and EntityId has a property public int m_Data;

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingduplicateThis issue or pull request already exists

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions