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. We have updated the language to the Editor Terms based on feedback from our employees and community. Learn more.
    Dismiss Notice

Question Maybe a bug, updated to 2023.1 beta and graphics.drawMeshNow stopped working

Discussion in '2023.1 Beta' started by DavidNLN, Mar 11, 2023.

  1. DavidNLN

    DavidNLN

    Joined:
    Sep 27, 2018
    Posts:
    85
    Hello all, I just upgraded from 2022.2.10f1 to 2023.1.0a26

    I have a script that renders a sprite to a renderTexture with Graphics.drawMesh, for some reason it seems to have stopped working, I dont get any errors or warnings but the sprite does not show in the texture
    Were there any changes made to that api?
     
  2. MaxWitsch

    MaxWitsch

    Joined:
    Jul 6, 2015
    Posts:
    112
    I think any Graphics.Draw... methodes are broken in this build.
    Even the terrain has a problem which recieved only a workaround by unity. Since you cannot apply a custom shader anymore.
     
  3. DavidNLN

    DavidNLN

    Joined:
    Sep 27, 2018
    Posts:
    85
    Hi @MaxWitsch thanks for the reply, I was beginning to think I was the only one, is there an open bug for it?
     
  4. MaxWitsch

    MaxWitsch

    Joined:
    Jul 6, 2015
    Posts:
    112
    Haven't had time to create one yet.
    May I ask which render pipeline you are working with?
     
  5. DavidNLN

    DavidNLN

    Joined:
    Sep 27, 2018
    Posts:
    85
    Sure, URP