Thousands of Sprite Renderers in Unity ECS - TransformUsageFlags, SystemGroups, Instantiate

แชร์
ฝัง
  • เผยแพร่เมื่อ 18 ม.ค. 2025

ความคิดเห็น • 11

  • @doublewuone3172
    @doublewuone3172 ปีที่แล้ว +1

    Thanks, your videos ale very helpfully

  • @ahappyharry5177
    @ahappyharry5177 6 หลายเดือนก่อน

    The background object in my subscene is not being rendered by my unity camera in the main scene. Can you help me figure out why is that issue :(

    • @ahappyharry5177
      @ahappyharry5177 6 หลายเดือนก่อน

      SRP batcher is enabled .. but still i cant see background sprite in camera :/

    • @TaleForgeStudio
      @TaleForgeStudio  6 หลายเดือนก่อน +1

      Solved -> the problem was that the entity graphics package was incorrectly included.

  • @heroslegendstudios1658
    @heroslegendstudios1658 9 หลายเดือนก่อน

    Doesn't appear that you need to have sprite rendering code in your system, is that due to the SRP Batcher? Otherwise not sure how the sprite renderer is converted to an entity component

    • @TaleForgeStudio
      @TaleForgeStudio  9 หลายเดือนก่อน +1

      Sorry for the late reply, I've been busy this week.
      Indeed, you need SRP Batcher to render in ECS - this setting is available in the UniversalRenderPipelineAsset.
      If you disable SRP Batcher, you will get an error: Attempting to render a BatchRendererGroup with SRP Batcher OFF. This is not supported.

    • @heroslegendstudios1658
      @heroslegendstudios1658 9 หลายเดือนก่อน

      @@TaleForgeStudio So this may be something only available in the 3D environment and not the 2D. I don't see those options available in a 2D environment game.

    • @TaleForgeStudio
      @TaleForgeStudio  9 หลายเดือนก่อน +1

      @@heroslegendstudios1658 you need to have URP package and enable Static Batching for 2D or 3D environment. If you need help You can reach me out at the Discord: discord.gg/gZssNGuDdc

  • @sauvikmukherjee
    @sauvikmukherjee 11 หลายเดือนก่อน

    Can you animate the Sprite ?

    • @TaleForgeStudio
      @TaleForgeStudio  10 หลายเดือนก่อน

      Yes, after Input section, I would focus on the Animations!