Search Unity

  1. Unity Asset Manager is now available in public beta. Try it out now and join the conversation here in the forums.
    Dismiss Notice

Resolved IL2CPP Build Errors Related To HDRP Water System

Discussion in 'HDRP Ray Tracing' started by OzgurGurbuz, Mar 17, 2024.

  1. OzgurGurbuz

    OzgurGurbuz

    Joined:
    Jun 18, 2019
    Posts:
    38
    Edit: I fixed it by re-importing an asset called Obfuscator.

    ------

    Hi, sorry for asking this but I'm unable to fix it myself.

    I'm having these errors after some unsuccessful build attempts:

    Library\Bee\artifacts\WinPlayerBuildProgram\AsyncPluginsFromLinker: .\Library\PackageCache\com.unity.render-pipelines.high-definition@14.0.9\Runtime\Water\HDRenderPipeline.WaterSystem.SimulationCPU.cs(235,17): Burst error BC0102: Unexpected internal compiler error while processing function `IL_002d: call Unity.Mathematics.float2 Unity.Mathematics.float2::ukq(Unity.Mathematics.float2,System.Single) args(IL_001b(ldloc), IL_002c(mul))`: System.NullReferenceException: Nesne basvurusu bir nesnenin �rnegine ayarlanmadi.
    UnityEngine.GUIUtility:processEvent (int,intptr,bool&)

    Building Library\Bee\artifacts\WinPlayerBuildProgram\AsyncPluginsFromLinker failed with output:
    UnityEditor.Build.BuildFailedException: Burst compiler (1.8.13) failed running
    stdout:
    Starting 1 library requests
    Error: .\Library\PackageCache\com.unity.render-pipelines.high-definition@14.0.9\Runtime\Water\HDRenderPipeline.WaterSystem.SimulationCPU.cs(235,17): Burst error BC0102: Unexpected internal compiler error while processing function `IL_002d: call Unity.Mathematics.float2 Unity.Mathematics.float2::ukq(Unity.Mathematics.float2,System.Single) args(IL_001b(ldloc), IL_002c(mul))`: System.NullReferenceException: Nesne basvurusu bir nesnenin �rnegine ayarlanmadi.
    konum: Burst.Compiler.IL.Intrinsics.VectorProcessor.CompileVectorSwizzle(ILCall call, VectorType vectorType, UInt32[] swizzles)
    konum: Burst.Compiler.IL.Intrinsics.VectorProcessor.Call(ILCall call)
    konum: Burst.Compiler.IL.ILCompiler.Call(ILInstruction inst)
    konum: Burst.Compiler.IL.ILCompiler.CompileInternal(ILInstruction inst)
    konum: Burst.Compiler.IL.ILCompiler.Compile(ILInstruction inst, Boolean fromVisiting)
    konum: Burst.Compiler.IL.ILCompiler.VisitImpl(ILInstruction inst)
    konum: Burst.Compiler.IL.ILVisitor.Visit(ILInstruction instruction)
    at UnityEngine.Rendering.HighDefinition.bhq.EvaluateDispersion.Execute(UnityEngine.Rendering.HighDefinition.bhq.EvaluateDispersion* this, int index) (at .\Library\PackageCache\com.unity.render-pipelines.high-definition@14.0.9\Runtime\Water\HDRenderPipeline.WaterSystem.SimulationCPU.cs:235)
    at Unity.Jobs.IJobParallelForExtensions.ParallelForJobStruct`1<UnityEngine.Rendering.HighDefinition.bhq.EvaluateDispersion>.Execute(ref UnityEngine.Rendering.HighDefinition.bhq.EvaluateDispersion jobData, System.IntPtr additionalPtr, System.IntPtr bufferRangePatchData, ref Unity.Jobs.LowLevel.Unsafe.JobRanges ranges, int jobIndex) (at C:\build\output\unity\unity\Runtime\Jobs\Managed\IJobParallelFor.cs:47)
    Error: .\Library\PackageCache\com.unity.render-pipelines.high-definition@14.0.9\Runtime\Water\HDRenderPipeline.WaterSystem.SimulationCPU.cs(235,17): Burst error BC0102: Unexpected internal compiler error while processing function `IL_002d: call Unity.Mathematics.float2 Unity.Mathematics.float2::ukq(Unity.Mathematics.float2,System.Single) args(IL_001b(ldloc), IL_002c(mul))`: System.NullReferenceException: Nesne basvurusu bir nesnenin �rnegine ayarlanmadi.
    konum: Burst.Compiler.IL.Intrinsics.VectorProcessor.CompileVectorSwizzle(ILCall call, VectorType vectorType, UInt32[] swizzles)
    konum: Burst.Compiler.IL.Intrinsics.VectorProcessor.Call(ILCall call)
    konum: Burst.Compiler.IL.ILCompiler.Call(ILInstruction inst)
    konum: Burst.Compiler.IL.ILCompiler.CompileInternal(ILInstruction inst)
    konum: Burst.Compiler.IL.ILCompiler.Compile(ILInstruction inst, Boolean fromVisiting)
    konum: Burst.Compiler.IL.ILCompiler.VisitImpl(ILInstruction inst)
    konum: Burst.Compiler.IL.ILVisitor.Visit(ILInstruction instruction)
    at UnityEngine.Rendering.HighDefinition.bhq.EvaluateDispersion.Execute(UnityEngine.Rendering.HighDefinition.bhq.EvaluateDispersion* this, int index) (at .\Library\PackageCache\com.unity.render-pipelines.high-definition@14.0.9\Runtime\Water\HDRenderPipeline.WaterSystem.SimulationCPU.cs:235)
    at Unity.Jobs.IJobParallelForExtensions.ParallelForJobStruct`1<UnityEngine.Rendering.HighDefinition.bhq.EvaluateDispersion>.Execute(ref UnityEngine.Rendering.HighDefinition.bhq.EvaluateDispersion jobData, System.IntPtr additionalPtr, System.IntPtr bufferRangePatchData, ref Unity.Jobs.LowLevel.Unsafe.JobRanges ranges, int jobIndex) (at C:\build\output\unity\unity\Runtime\Jobs\Managed\IJobParallelFor.cs:47)
    stderr:
    at Unity.Burst.Editor.BurstAotCompiler+BclRunner.RunProgram (UnityEditor.Utils.Program p, System.String exe, System.String args, System.String workingDirectory, UnityEditor.Scripting.Compilers.CompilerOutputParserBase parser, System.Boolean unreliableExitCode) [0x00224] in .\Library\PackageCache\com.unity.burst@1.8.13\Editor\BurstAotCompiler.cs:1943
    at Unity.Burst.Editor.BurstAotCompiler+BclRunner.RunManagedProgram (System.String exe, System.String args, System.String workingDirectory, UnityEditor.Scripting.Compilers.CompilerOutputParserBase parser) [0x00065] in .\Library\PackageCache\com.unity.burst@1.8.13\Editor\BurstAotCompiler.cs:1812
    at Unity.Burst.Editor.BurstAotCompiler+BclRunner.RunManagedProgram (System.String exe, System.String args, UnityEditor.Scripting.Compilers.CompilerOutputParserBase parser) [0x00000] in .\Library\PackageCache\com.unity.burst@1.8.13\Editor\BurstAotCompiler.cs:1777
    at Unity.Burst.Editor.BurstAotCompiler.OnPostBuildPlayerScriptDLLsImpl (Unity.Burst.Editor.BurstAotCompiler+BurstAOTSettings settings, UnityEditor.Compilation.Assembly[] playerAssemblies) [0x00982] in .\Library\PackageCache\com.unity.burst@1.8.13\Editor\BurstAotCompiler.cs:886
    at Unity.Burst.Editor.BurstAOTCompilerPostprocessor.DoGenerate (UnityEditor.Compilation.Assembly[] assemblies) [0x00013] in .\Library\PackageCache\com.unity.burst@1.8.13\Editor\BurstAotCompiler.cs:332
    at Unity.Burst.Editor.BurstAOTCompilerPostprocessor.GenerateNativePluginsForAssemblies (UnityEditor.Build.IGenerateNativePluginsForAssemblies+GenerateArgs args) [0x0007d] in .\Library\PackageCache\com.unity.burst@1.8.13\Editor\BurstAotCompiler.cs:185
    at UnityEditor.Modules.BeeBuildPostprocessor.GenerateNativePluginsForAssemblies (PlayerBuildProgramLibrary.Data.GenerateNativePluginsForAssembliesArgs args) [0x00050] in <53ddbed73faf4fe3b980a493ab4e6639>:0
    at Bee.BeeDriver.BuildRequest+<>c__DisplayClass63_0`1[T].<RegisterRPCCallback>b__0 (System.Object o) [0x00000] in <812b4e53dd8f4892bc0185b1459bfb72>:0
    at Bee.BeeDriver.BeeDriver_RunBackend+<>c__DisplayClass1_0.<ProcessRPCRequest>b__0 () [0x00021] in <812b4e53dd8f4892bc0185b1459bfb72>:0
    at System.Threading.Tasks.Task.InnerInvoke () [0x0000f] in <834b2ded5dad441e8c7a4287897d63c7>:0
    at System.Threading.Tasks.Task.Execute () [0x00000] in <834b2ded5dad441e8c7a4287897d63c7>:0
    --- End of stack trace from previous location where exception was thrown ---
    at Bee.BeeDriver.BeeDriver_RunBackend.ProcessRPCRequest (Bee.BinLog.RPCActionMessage msg, Bee.BeeDriver.BuildRequest+RPCCallback rpcCallback, IPCConnection ipcConnection, System.Threading.Tasks.Task writePipeConnectionTask, Bee.BeeDriver.InternalState state) [0x00102] in <812b4e53dd8f4892bc0185b1459bfb72>:0
    UnityEngine.GUIUtility:processEvent (int,intptr,bool&)

    I updated Burst, Math and I don't have anything related to the water system in my project. I also deleted the Library file.

    Version: 2022.3.12f1
     
    Last edited: Mar 17, 2024