Search Unity

  1. Welcome to the Unity Forums! Please take the time to read our Code of Conduct to familiarize yourself with the forum rules and how to post constructively.
  2. Dismiss Notice

Bug Getting errors when creating a URP project with Unity 2021 or more recent versions

Discussion in 'Universal Render Pipeline' started by Naxo175, Jan 7, 2023.

  1. Naxo175

    Naxo175

    Joined:
    Jan 9, 2021
    Posts:
    10
    Hi ! When i create an URP project for 2D or 3D with 2021 versions or more recent, I have errors that appears :

    1. FormatException: Input string was not in a correct format.
    2. System.Number.ThrowOverflowOrFormatException (System.Boolean overflow, System.String overflowResourceKey) (at <75633565436c42f0a6426b33f0132ade>:0)
    3. System.Number.ParseInt32 (System.ReadOnlySpan`1[T] value, System.Globalization.NumberStyles styles, System.Globalization.NumberFormatInfo info) (at <75633565436c42f0a6426b33f0132ade>:0)
    4. System.Int32.Parse (System.String s) (at <75633565436c42f0a6426b33f0132ade>:0)
    5. Unity.Burst.BurstCompilerOptionsInternal.DeserialiseStringArraySafe (System.String input) (at <a2dd15248a25411e914af2a2c82fb63f>:0)
    6. Burst.Compiler.IL.Jit.JitCompilerService.GetAssemblyPaths (System.String folders) (at <a2dd15248a25411e914af2a2c82fb63f>:0)
    7. Burst.Compiler.IL.Jit.JitCompilerService.EnsureLibraryCacheLoaded (System.String assemblyPaths) (at <a2dd15248a25411e914af2a2c82fb63f>:0)
    8. 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 <a2dd15248a25411e914af2a2c82fb63f>:0)
    9. Unity.Burst.LowLevel.BurstCompilerService:GetDisassembly(MethodInfo, String)
    10. Unity.Burst.BurstCompiler:SendRawCommandToCompiler(String)
    11. Unity.Burst.CommandBuilder:SendToCompiler()
    12. Unity.Burst.BurstCompiler:SendCommandToCompiler(String, String)
    13. Unity.Burst.BurstCompiler:RequestSetProtocolVersion(Int32)
    14. Unity.Burst.Editor.BurstLoader:.cctor()
    15. UnityEditor.EditorAssemblies:processInitializeOnLoadAttributes(Type[])
    And another :

    1. Assertion failed on expression: 'exception == SCRIPTING_NULL'
    2. UnityEngine.StackTraceUtility:ExtractStackTrace ()
    3. Unity.Burst.BurstCompiler:SendRawCommandToCompiler (string) (at Library/PackageCache/com.unity.burst@1.8.2/Runtime/BurstCompiler.cs:770)
    4. Unity.Burst.BurstCompiler/CommandBuilder:SendToCompiler () (at Library/PackageCache/com.unity.burst@1.8.2/Runtime/BurstCompiler.cs:97)
    5. Unity.Burst.BurstCompiler:SendCommandToCompiler (string,string) (at Library/PackageCache/com.unity.burst@1.8.2/Runtime/BurstCompiler.cs:784)
    6. Unity.Burst.BurstCompiler:RequestSetProtocolVersion (int) (at Library/PackageCache/com.unity.burst@1.8.2/Runtime/BurstCompiler.cs:653)
    7. Unity.Burst.Editor.BurstLoader:.cctor () (at Library/PackageCache/com.unity.burst@1.8.2/Runtime/Editor/BurstLoader.cs:213)
    8. UnityEditor.EditorAssemblies:processInitializeOnLoadAttributes (System.Type[])
    I tried removing Burst package, reinstalling URP package, but nothing changed. I don't know what to do, please help :'(
     
    RyoichiTakeuchi likes this.
  2. Naxo175

    Naxo175

    Joined:
    Jan 9, 2021
    Posts:
    10
    The :p emojis mean
    :P
     
  3. zommer128

    zommer128

    Joined:
    May 26, 2017
    Posts:
    1
    Did you managed to get it work? I'm struggling with the same issue and I can't find any kind of solution
     
    eeya likes this.
  4. ykawano

    ykawano

    Joined:
    Feb 1, 2018
    Posts:
    1
    I have the same problem. It probably occurs with burst 1.7.4 and above. up to burst 1.7.3 I had no problem.
     
  5. vokh_demetro

    vokh_demetro

    Joined:
    Dec 4, 2019
    Posts:
    7
    +1. I have this problem unity 2021.3.16-2021.3.18 silicon version. upload_2023-2-8_11-44-24.png
     
  6. dimaost363

    dimaost363

    Joined:
    Mar 23, 2023
    Posts:
    1
    You have a folder where your project is named in a language other than English, and I had the same problem. Just rename the folder of your project in English, and the project itself should also be in English. I hope I helped you.
     
    wcchoe likes this.