Search Unity

no textures are rendered in the game.

Discussion in 'Editor & General Support' started by pitfight, Aug 2, 2021.

  1. pitfight

    pitfight

    Joined:
    Apr 28, 2021
    Posts:
    2
    Hello, my name is Maxim, I ran into an error for which I cannot find a solution.
    The packages that applied to it are the universal rendering pipeline, cinemachine
    The game is in 2D, and the scene in the editor works fine without errors, but if I compile it and run it on the android device, it doesn't go as well as I would like.
    On the first stage, the canvas itself is laid out with the main menu and with buttons, everything works great, the sounds of the button.
    The second scene already contains the whole game world, in it I use lighing2d and shadowcaster2d, the canvas with the player's controller is rendered, I can also press the buttons and there is a reaction the player walks and waves (I hear all this by the sounds) because the pictures with the game world
    not rendered.
    The third game scene is the one that the player gets to when he won or played, it also works great because in the second game scene I can kill the character and I will get to the third scene.

    Conclusion: By errors I see that the problem with rendering 2d textures is due to LIghing2d, but I cannot solve this problem.

    Please help me.


    attach logcat logs:

    5595 5608 Error Unity Texture creation failed. 'R8G8B8A8_SRGB' is not supported for Sample usage on this platform. Use 'SystemInfo.IsFormatSupported' C# API to check format support.

    5595 5608 Error Unity #0 0x5fe33b79 (libunity.so) ? 0x0

    5595 5608 Error Unity #1 0x604f4f97 (libunity.so) ? 0x0

    5595 5608 Error Unity #2 0x60022cbd (libunity.so) ? 0x0

    5595 5608 Error Unity #3 0x60022c29 (libunity.so) ? 0x0

    5595 5608 Error Unity #4 0x739bb726 (Unknown) ? 0x0



    5595 5608 Error Unity NullReferenceException

    1562 11583 Error Unity at (wrapper managed-to-native) UnityEngine.Texture.set_filterMode(UnityEngine.Texture,UnityEngine.FilterMode)

    11562 11583 Error Unity at UnityEngine.Experimental.Rendering.Universal.Light2DLookupTexture.CreateFalloffLookupTexture () [0x00012] in <a465d97791e2436cafebdf22a7fc184d>:0

    11562 11583 Error Unity at UnityEngine.Experimental.Rendering.Universal.Light2DLookupTexture.GetFalloffLookupTexture () [0x0000d] in <a465d97791e2436cafebdf22a7fc184d>:0

    Error Unity at UnityEngine.Experimental.Rendering.Universal.RendererLighting.SetShapeLightShaderGlobals (UnityEngine.Experimental.Rendering.Universal.IRenderPass2D pass, UnityEngine.Rendering.CommandBuffer cmd) [0x00088] in <a465d97791e2436cafebdf22a7fc184d>:0

    11562 11583 Error Unity at UnityEngine.Experimental.Rendering.Universal.Render2DLightingPass.Execute (UnityEngine.Rendering.ScriptableRenderContext context, UnityEngine.Rendering.Universal.RenderingData& renderingData) [0x000e3] in <a465d97791e2436cafebdf22a7fc184d>:0

    11562 11583 Error Unity at UnityEngine.Rendering.Universal.ScriptableRenderer.ExecuteRenderPass (UnityEngine.



    11562 11583 Warn Unity XRSystem.ReleaseFrame() was not called!

    11562 11583 Warn Unity #0 0x5fe35b79 (libunity.so) ? 0x0

    11562 11583 Warn Unity #1 0x604f6f97 (libunity.so) ? 0x0

    11562 11583 Warn Unity #2 0x60024cbd (libunity.so) ? 0x0

    11562 11583 Warn Unity #3 0x60024c29 (libunity.so) ? 0x0

    11562 11583 Warn Unity #4 0x739bb726 (Unknown) ? 0x0
     

    Attached Files: