com.unity.multiplayer.playmode. virtual player crash

Issue #901 resolved
sarofc created an issue

unity version: 2023.1.0a24

odin version: 3.1.9.0

com.unity.multiplayer.playmode: 0.1.0 doc Multiplayer Play Mode | Unity Multiplayer Networking (unity3d.com)

Reproduce:

1.create a blank project

2.add package com.unity.multiplayer.playmode 0.1.0

3.import odin 3.1.9.0

4.open Window > Multiplayer Play Mode. active virtual player (Player 2)

5.click play button.

Actual:

1.Main Editor work fine

2.but Virtual Player crash!

Additional:

if add '~' to ignore Plugins folder, virtual player work fine.

Log:

Cannot open transaction. Error 13(Permission denied) (aborting errors true)
UnityEngine.StackTraceUtility:ExtractStackTrace ()
UnityEditor.ShaderUtil:CreateShaderAsset (string)
Sirenix.OdinInspector.Editor.SdfIcons:get_Material () (at C:/Sirenix/Sirenix Solution/Sirenix.Utilities.Editor/Misc/SdfIcons.cs:1740)
Sirenix.OdinInspector.Editor.SdfIcons:FixBug () (at C:/Sirenix/Sirenix Solution/Sirenix.Utilities.Editor/Misc/SdfIcons.cs:1802)
System.Reflection.RuntimeMethodInfo:Invoke (object,System.Reflection.BindingFlags,System.Reflection.Binder,object[],System.Globalization.CultureInfo)
System.Reflection.MethodBase:Invoke (object,object[])
UnityEditor.EditorAssemblies:ProcessInitializeOnLoadMethodAttributes ()

[C:/Sirenix/Sirenix Solution/Sirenix.Utilities.Editor/Misc/SdfIcons.cs line 1740]

=================================================================

Native Crash Reporting

Got a UNKNOWN while executing native code. This usually indicates

a fatal error in the mono runtime or one of the native libraries
used by your application.

=================================================================

Managed Stacktrace:

  at <unknown> <0xffffffff>
  at UnityEditor.ShaderUtil:CreateShaderAsset <0x00097>
  at UnityEditor.ShaderUtil:CreateShaderAsset <0x0002a>
  at Sirenix.OdinInspector.Editor.SdfIcons:get_Material <0x0011a>
  at Sirenix.OdinInspector.Editor.SdfIcons:FixBug <0x0001a>
  at System.Object:runtime_invoke_void <0x000d2>
  at <unknown> <0xffffffff>
  at System.Reflection.RuntimeMethodInfo:InternalInvoke <0x000af>
  at System.Reflection.RuntimeMethodInfo:Invoke <0x0011a>
  at System.Reflection.MethodBase:Invoke <0x0003d>
  at UnityEditor.EditorAssemblies:ProcessInitializeOnLoadMethodAttributes <0x006ea>
  at System.Object:runtime_invoke_void <0x00084>

=================================================================
Crash!!!
SymInit: Symbol-SearchPath: 'C:/Program Files/Unity/Unity 2023.1.0a24

Comments (6)

  1. Johnny Go-Time

    I have this exact same issue, same steps to reproduce, with Odin 3.3.1.7 in unity 2023.3.0a15:
    Native Crash Reporting

    =================================================================

    Got a UNKNOWN while executing native code. This usually indicates
    a fatal error in the mono runtime or one of the native libraries
    used by your application.

    =================================================================

    Managed Stacktrace:
    
      at <unknown> <0xffffffff>
      at UnityEditor.ShaderUtil:CreateShaderAsset_Injected <0x000d5>
      at UnityEditor.ShaderUtil:CreateShaderAsset <0x002e2>
      at UnityEditor.ShaderUtil:CreateShaderAsset <0x00092>
      at Sirenix.OdinInspector.Editor.SdfIcons:EnsureMaterialIsValid <0x0028a>
      at Sirenix.OdinInspector.Editor.SdfIcons:get_Material <0x0006a>
      at Sirenix.OdinInspector.Editor.SdfIcons:FixBug <0x0006a>
      at System.Object:runtime_invoke_void <0x00334>
      at <unknown> <0xffffffff>
      at System.Reflection.RuntimeMethodInfo:InternalInvoke <0x00151>
      at System.Reflection.RuntimeMethodInfo:Invoke <0x00522>
      at System.Reflection.MethodBase:Invoke <0x0008e>
      at UnityEditor.EditorAssemblies:ProcessInitializeOnLoadMethodAttributes <0x00572>
      at System.Object:runtime_invoke_void <0x00184>
    

    =================================================================
    Crash!!!

    Sirenix, what can we do to resolve this critical failure? Thanks.

  2. Johnny Go-Time

    Here is some additional logging:

    Native extension for WindowsStandalone target not found
    Cannot open transaction. Error 13(Permission denied) (aborting errors true)
    UnityEngine.Debug:ExtractStackTraceNoAlloc (byte*,int,string)
    UnityEngine.StackTraceUtility:ExtractStackTrace ()
    UnityEditor.ShaderUtil:CreateShaderAsset (UnityEditor.AssetImporters.AssetImportContext,string,bool)
    UnityEditor.ShaderUtil:CreateShaderAsset (string)
    Sirenix.OdinInspector.Editor.SdfIcons:EnsureMaterialIsValid () (at C:/Sirenix/Sirenix Solution/Sirenix.Utilities.Editor/Misc/SdfIcons.cs:1737)
    Sirenix.OdinInspector.Editor.SdfIcons:get_Material () (at C:/Sirenix/Sirenix Solution/Sirenix.Utilities.Editor/Misc/SdfIcons.cs:1796)
    Sirenix.OdinInspector.Editor.SdfIcons:FixBug () (at C:/Sirenix/Sirenix Solution/Sirenix.Utilities.Editor/Misc/SdfIcons.cs:1815)
    System.Reflection.RuntimeMethodInfo:Invoke (object,System.Reflection.BindingFlags,System.Reflection.Binder,object[],System.Globalization.CultureInfo)
    System.Reflection.MethodBase:Invoke (object,object[])
    UnityEditor.EditorAssemblies:ProcessInitializeOnLoadMethodAttributes ()

    [C:/Sirenix/Sirenix Solution/Sirenix.Utilities.Editor/Misc/SdfIcons.cs line 1737]

    To be clear, this is a critical issue as it causes MPPM clients to crash on startup so we are completely unable to continue working on multiplayer/client-server.

  3. Log in to comment