Search Unity

Headless Build Issue

Discussion in 'Multiplayer' started by KingLlama, Jul 21, 2021.

  1. KingLlama

    KingLlama

    Joined:
    Jul 18, 2015
    Posts:
    190
    Running into a headless build issue when trying to run it on Linux or Windows. This is from the linux headless server. I am using ummorpg.

    Code (CSharp):
    1. WARNING: Shader Unsupported: 'Hidden/Nature/Terrain/Utilities' - All passes removed
    2. WARNING: Shader Did you use #pragma only_renderers and omit this platform?
    3. ERROR: Shader Hidden/Nature/Terrain/Utilities shader is not supported on this GPU (none of subshaders/fallbacks are suitable)
    4. ERROR: Shader PWS/PW_Water shader is not supported on this GPU (none of subshaders/fallbacks are suitable)
    5. WARNING: Shader Unsupported: 'PWS/PW_General_Forward' - All passes removed
    6. WARNING: Shader Did you use #pragma only_renderers and omit this platform?
    7. WARNING: Shader Unsupported: 'PWS/PW_General_Deferred' - All passes removed
    8. WARNING: Shader Did you use #pragma only_renderers and omit this platform?
    9. ERROR: Shader Enviro/Standard/VolumeLight shader is not supported on this GPU (none of subshaders/fallbacks are suitable)
    10. UnloadTime: 1.127532 ms
    11. HDR Render Texture not supported, disabling HDR on reflection probe.
    12. (Filename:  Line: 277)
    13.  
    14. HDR Render Texture not supported, disabling HDR on reflection probe.
    15. (Filename:  Line: 277)
    16.  
    17. HDR Render Texture not supported, disabling HDR on reflection probe.
    18. (Filename:  Line: 277)
    19.  
    20. HDR Render Texture not supported, disabling HDR on reflection probe.
    21. (Filename:  Line: 277)
    22.  
    23. HDR Render Texture not supported, disabling HDR on reflection probe.
    24. (Filename:  Line: 277)
    25.  
    26. HDR Render Texture not supported, disabling HDR on reflection probe.
    27. (Filename:  Line: 277)
    28.  
    29. HDR Render Texture not supported, disabling HDR on reflection probe.
    30. (Filename:  Line: 277)
    31.  
    32. 'R16G16B16A16_SFloat' is not supported. RenderTexture::GetTemporary fallbacks to None format on this platform. Use 'SystemInfo.IsFormatSupported' C# API to check format support.
    33. (Filename: ./Runtime/Export/Debug/Debug.bindings.h Line: 35)
    34.  
    35. Texture creation failed. 'None' is not supported for Render usage on this platform. Use 'SystemInfo.IsFormatSupported' C# API to check format support.
    36. (Filename: ./Runtime/Export/Debug/Debug.bindings.h Line: 35)
    37.  
    38. Uploading Crash Report
    39. NullReferenceException
    40.   at (wrapper managed-to-native) UnityEngine.Object.SetName(UnityEngine.Object,string)
    41.   at UnityEngine.Object.set_name (System.String value) [0x00001] in <e255fa8612d5490cb4f1991ab3b61edb>:0
    42.   at EnviroSkyRendering.ChangeResolution () [0x00049] in <2b1353b308c64fd7af3e9f5e0fda2efe>:0
    43.   at EnviroSkyRendering.SetupVolumeFog () [0x00023] in <2b1353b308c64fd7af3e9f5e0fda2efe>:0
    44.   at EnviroSkyRendering.OnEnable () [0x00020] in <2b1353b308c64fd7af3e9f5e0fda2efe>:0
    45. UnityEngine.GameObject:Internal_AddComponentWithType(Type)
    46. UnityEngine.GameObject:AddComponent(Type)
    47. UnityEngine.GameObject:AddComponent()
    48. EnviroReflectionProbe:CreateRenderCamera()
    49. EnviroReflectionProbe:OnEnable()
    50. (Filename: <e255fa8612d5490cb4f1991ab3b61edb> Line: 0)
    51.  
    52. 'R16G16B16A16_SFloat' is not supported. RenderTexture::GetTemporary fallbacks to None format on this platform. Use 'SystemInfo.IsFormatSupported' C# API to check format support.
    53. (Filename: ./Runtime/Export/Debug/Debug.bindings.h Line: 35)
    54.  
    55. Texture creation failed. 'None' is not supported for Render usage on this platform. Use 'SystemInfo.IsFormatSupported' C# API to check format support.
    56. (Filename: ./Runtime/Export/Debug/Debug.bindings.h Line: 35)
    57.  
    58.  
    59. 'R16G16B16A16_SFloat' is not supported. RenderTexture::GetTemporary fallbacks to None format on this platform. Use 'SystemInfo.IsFormatSupported' C# API to check format support.
    60. (Filename: ./Runtime/Export/Debug/Debug.bindings.h Line: 35)
    61.  
    62. Texture creation failed. 'None' is not supported for Render usage on this platform. Use 'SystemInfo.IsFormatSupported' C# API to check format support.
    63. (Filename: ./Runtime/Export/Debug/Debug.bindings.h Line: 35)
    64.  
    65. Uploading Crash Report
    66. NullReferenceException
    67.   at (wrapper managed-to-native) UnityEngine.Object.SetName(UnityEngine.Object,string)
    68.   at UnityEngine.Object.set_name (System.String value) [0x00001] in <e255fa8612d5490cb4f1991ab3b61edb>:0
    69.   at EnviroSkyRendering.ChangeResolution () [0x00049] in <2b1353b308c64fd7af3e9f5e0fda2efe>:0
    70.   at EnviroSkyRendering.SetupVolumeFog () [0x00023] in <2b1353b308c64fd7af3e9f5e0fda2efe>:0
    71.   at EnviroSkyRendering.OnEnable () [0x00020] in <2b1353b308c64fd7af3e9f5e0fda2efe>:0
    72. UnityEngine.GameObject:Internal_AddComponentWithType(Type)
    73. UnityEngine.GameObject:AddComponent(Type)
    74. UnityEngine.GameObject:AddComponent()
    75. EnviroReflectionProbe:CreateRenderCamera()
    76. EnviroReflectionProbe:OnEnable()
    77. (Filename: <e255fa8612d5490cb4f1991ab3b61edb> Line: 0)
    78.  
    79. 'R16G16B16A16_SFloat' is not supported. RenderTexture::GetTemporary fallbacks to None format on this platform. Use 'SystemInfo.IsFormatSupported' C# API to check format support.
    80. (Filename: ./Runtime/Export/Debug/Debug.bindings.h Line: 35)
    81.  
    82. Texture creation failed. 'None' is not supported for Render usage on this platform. Use 'SystemInfo.IsFormatSupported' C# API to check format support.
    83. (Filename: ./Runtime/Export/Debug/Debug.bindings.h Line: 35)
    84.  
    85. Caught fatal signal - signo:11 code:1 errno:0 addr:0x8
    86. Obtained 35 stack frames.
    87. #0  0x007fe1be5fe3c0 in funlockfile
    88. #1  0x007fe1bf190284 in GfxDevice::DrawSharedGeometryJobs(DynamicVBOBuffer const&, unsigned int, DynamicVBOBuffer const&, unsigned int, GeometryJobFence, DrawBuffersRange const*, unsigned long, VertexDeclaration*)
    89. #2  0x007fe1bf18cf29 in RenderDynamicBatch(GfxDevice&, RenderNodeQueue const&, BatchInstanceData const*, unsigned long, unsigned long, unsigned long, VertexInputMasks, ShaderChannelMask, VertexAttributeFormats const&, GfxPrimitiveType)
    90. #3  0x007fe1bf18c576 in RenderMultipleMeshes(RenderNodeQueue const&, RenderMultipleData const&, VertexInputMasks)
    91. #4  0x007fe1bef443ad in ForwardRenderLoopJob(GfxDeviceAsyncCommand::ArgScratch*, GfxDeviceAsyncCommand::Arg const*)
    92. #5  0x007fe1bf193cb1 in GfxDevice::ExecuteAsync(int, void (*)(GfxDeviceAsyncCommand::ArgScratch*, GfxDeviceAsyncCommand::Arg const*), GfxDeviceAsyncCommand::ArgScratch**, GfxDeviceAsyncCommand::Arg const*, JobFence const&)
    93. #6  0x007fbecc618513 in ForwardShaderRenderLoop::StartRenderJobs(JobFence&, bool, bool, ShaderPassContext&)
    94. #7  0x007fbecc61a63d in ForwardShaderRenderLoop::PerformRendering(JobFence&, ActiveLight const*, ShadowJobData const&, bool, bool, bool, Camera::RenderFlag)
    95. #8  0x007fbecc61ba68 in DoForwardShaderRenderLoop(RenderLoopContext const&, dynamic_array<RenderObjectData, 0ul>&, CullResults const&, bool, bool, bool, Camera::RenderFlag)
    96. #9  0x007fbecc611d1f in DoRenderLoop(RenderLoop&, RenderingPath, CullResults&, ShadowMapCache&)
    97. #10 0x007fbecc5cad2f in Camera::DoRender(CullResults&, Camera::RenderFlag, Camera::PerformRenderFunction*)
    98. #11 0x007fbecc5cc429 in Camera::CustomRender(CullResults&, ShaderPassContext&, CameraRenderingParams const*, Camera::RenderFlag, Camera::PerformRenderFunction*, void (*)(), void (*)())
    99. #12 0x007fbecc5cb780 in Camera::StandaloneCustomRender(Camera::RenderFlag, Shader*, core::basic_string<char, core::StringStorageDefault<char> > const&, Camera::PerformRenderFunction*)
    100. #13 0x007fbecc5d5ce8 in CameraScripting::Render(Camera*)
    101. #14 0x007fbecc90d6d7 in Camera_CUSTOM_Render(ScriptingBackendNativeObjectPtrOpaque*)
    102. #15 0x000000407e5466 in (wrapper managed-to-native) UnityEngine.Camera:Render (UnityEngine.Camera)
    103. #16 0x000000407df058 in ProcedualWorlds.WaterSystem.PWS_WaterSystem:GenerateReflection (Gaia.SceneProfile,bool)
    104. #17 0x007fbecb391505 in mono_print_method_from_ip
    105. #18 0x007fbecb500a48 in mono_perfcounter_foreach
    106. #19 0x007fbecb5018f5 in mono_runtime_invoke
    107. #20 0x007fbecc8a1df2 in scripting_method_invoke(ScriptingMethodPtr, ScriptingObjectPtr, ScriptingArguments&, ScriptingExceptionPtr*, bool)
    108. #21 0x007fbecc8a01ca in ScriptingInvocation::Invoke(ScriptingExceptionPtr*, bool)
    109. #22 0x007fbecc888bed in MonoBehaviour::AddToManager()
    110. #23 0x007fbecc888587 in MonoBehaviour::AwakeFromLoad(AwakeFromLoadMode)
    111. #24 0x007fbecc8eaf39 in AwakeFromLoadQueue::InvokePersistentManagerAwake(AwakeFromLoadQueue::Item*, unsigned int, AwakeFromLoadMode)
    112. #25 0x007fbecc7a16cf in LoadSceneOperation::CompleteAwakeSequence()
    113. #26 0x007fbecc7a133f in LoadSceneOperation::PlayerLoadSceneFromThread()
    114. #27 0x007fbecc7a0fc3 in LoadSceneOperation::IntegrateMainThread()
    115. #28 0x007fbecc7a238b in PreloadManager::UpdatePreloadingSingleStep(PreloadManager::UpdatePreloadingFlags, int)
    116. #29 0x007fbecc7a29d7 in PreloadManager::WaitForAllAsyncOperationsToComplete()
    117. #30 0x007fbecc7a7b0f in RuntimeSceneManager::LoadScene(core::basic_string<char, core::StringStorageDefault<char> > const&, core::basic_string<char, core::StringStorageDefault<char> > const&, core::basic_string<char, core::StringStorageDefault<char> > const&, UnityGUID const&, int, InternalLoadSceneParameters const&)
    118. #31 0x007fbecc794d62 in PlayerStartFirstScene(bool)
    119. #32 0x007fbecc8f84b7 in PlayerMain(int, char**)
    120. #33 0x007fbecbaf30b3 in __libc_start_main
    121. #34 0x0055b5525dd699 in _start
    122. Aborted (core dumped)
    123.  
     
    Last edited: Jul 21, 2021
  2. Joe-Censored

    Joe-Censored

    Joined:
    Mar 26, 2013
    Posts:
    11,616
    I don't know why the error is occurring, but judging from the error you have a camera, and I am wondering why you'd want a camera enabled in your headless server build. If I was investigating this, I'd start by disabling the camera and repeating the test.
     
    KingLlama likes this.
unityunity