Search Unity

  1. Unity 6 Preview is now available. To find out what's new, have a look at our Unity 6 Preview blog post.
    Dismiss Notice
  2. Unity is excited to announce that we will be collaborating with TheXPlace for a summer game jam from June 13 - June 19. Learn more.
    Dismiss Notice

Bug unity 2023.2.20 c# script bug editor bugged

Discussion in 'Scripting' started by mossrocks11, May 3, 2024.

  1. mossrocks11

    mossrocks11

    Joined:
    May 3, 2024
    Posts:
    3
    Code (CSharp):
    1. NotSupportedException: Delegates cannot be marshalled from native code into a domain other than their home domain
    2. System.Runtime.InteropServices.Marshal.GetDelegateForFunctionPointer (System.IntPtr ptr, System.Type t) (at <ecf276dcb8654fa5bed2c5ea1a4ad870>:0)
    3. System.Runtime.InteropServices.Marshal.GetDelegateForFunctionPointer[TDelegate] (System.IntPtr ptr) (at <ecf276dcb8654fa5bed2c5ea1a4ad870>:0)
    4. Burst.Compiler.IL.Client.ProgressHelper.SetProgressCallback (System.Nullable`1[T] progressCallbackStubAddress) (at <fecc8b90ec9549a294c4d6f8c000ff99>:0)
    5. Burst.Compiler.IL.Client.ProgressHelper.SetProgressCallback (System.IntPtr progressCallbackStubAddress) (at <fecc8b90ec9549a294c4d6f8c000ff99>:0)
    6. Burst.Compiler.IL.Client.CompilerClient.OnDomainReload (Burst.Compiler.IL.Jit.JitCompilerService+LogCallbackInternalDelegate logCallback, System.Nullable`1[T] progressCallbackFunctionPointer, System.Boolean scriptingCompilationIsDebug) (at <fecc8b90ec9549a294c4d6f8c000ff99>:0)
    7. Burst.Compiler.IL.Jit.JitCompilerService.ResetOnDomainReload (System.String args) (at <fecc8b90ec9549a294c4d6f8c000ff99>:0)
    8. Burst.Compiler.IL.Jit.JitCompilerService.ProcessCommand (System.String commandName, System.String args) (at <fecc8b90ec9549a294c4d6f8c000ff99>:0)
    9. Burst.Compiler.IL.Jit.JitCompilerService.CompileInternal (System.String fullMethodName, System.String assemblyPaths, System.IntPtr userdata, Unity.Burst.NativeDumpFlags dumpFlags, System.IntPtr compilerCallbackPointer, System.IntPtr logCallBack, System.String compilerFlags) (at <fecc8b90ec9549a294c4d6f8c000ff99>:0)
    10. Unity.Burst.LowLevel.BurstCompilerService:GetDisassembly_Injected(MethodInfo, ManagedSpanWrapper&, ManagedSpanWrapper&)
    11. Unity.Burst.LowLevel.BurstCompilerService:GetDisassembly(MethodInfo, String)
    12. Unity.Burst.BurstCompiler:SendRawCommandToCompiler(String)
    13. Unity.Burst.CommandBuilder:SendToCompiler()
    14. Unity.Burst.BurstCompiler:DomainReload()
    15. Unity.Burst.Editor.BurstLoader:.cctor()
    16. UnityEditor.EditorAssemblies:ProcessInitializeOnLoadAttributes(Type[])
    17.  
    18. Assertion failed on expression: 'exception == SCRIPTING_NULL'
    19. UnityEngine.StackTraceUtility:ExtractStackTrace ()
    20. Unity.Burst.LowLevel.BurstCompilerService:GetDisassembly (System.Reflection.MethodInfo,string)
    21. Unity.Burst.BurstCompiler:SendRawCommandToCompiler (string) (at ./Library/PackageCache/com.unity.burst@1.8.13/Runtime/BurstCompiler.cs:786)
    22. Unity.Burst.BurstCompiler/CommandBuilder:SendToCompiler () (at ./Library/PackageCache/com.unity.burst@1.8.13/Runtime/BurstCompiler.cs:91)
    23. Unity.Burst.BurstCompiler:DomainReload () (at ./Library/PackageCache/com.unity.burst@1.8.13/Runtime/BurstCompiler.cs:536)
    24. Unity.Burst.Editor.BurstLoader:.cctor () (at ./Library/PackageCache/com.unity.burst@1.8.13/Runtime/Editor/BurstLoader.cs:201)
    25. UnityEditor.EditorAssemblies:ProcessInitializeOnLoadAttributes (System.Type[])
    26.  
    27.  
     
  2. CodeSmile

    CodeSmile

    Joined:
    Apr 10, 2014
    Posts:
    6,528
    Provide more details.