Search Unity

  1. We are migrating the Unity Forums to Unity Discussions. On July 12, the Unity Forums will become read-only.

    Please, do not make any changes to your username or email addresses at during this transition time.

    It's still possible to reply to existing private message conversations during the migration, but any new replies you post will be missing after the main migration is complete. We'll do our best to migrate these messages in a follow-up step.

    On July 15, Unity Discussions will become read-only until July 18, when the new design and the migrated forum contents will go live.

    Read our full announcement for more information and let us know if you have any questions.

Bug Miss PhysicsDynamicDebugMaterial.mat and PhysicsStaticDebugMaterial.mat

Discussion in 'Physics for ECS' started by ZaneLou2020, Oct 16, 2022.

  1. ZaneLou2020


    Oct 2, 2020
    in 1.0.0-exp.8 version, DrawMeshUtility class use this two materials, but they are missing, so enable PhysicsDebugDisplay, we can get DrawMeshInstanced does not support the shader 'Hidden/InternalErrorShader' because it does not read any instanced properties. Try switching to DrawMeshInstancedProcedural if the shader is doing procedural instancing error.
  2. hxhloveunity


    May 27, 2022
    because the debug mat is PhysicsStaticDebugMaterial.mat, and it use shader is PhysicsStatic.shader。but PhysicsStatic.shader is in PhysicsSamples project。