To render a 3D GameObjectThe fundamental object in Unity scenes, which can represent characters, props, scenery, cameras, waypoints, and more. A GameObject’s functionality is defined by the Components attached to it. More info
See in Glossary in a 2D Universal Render PipelineA series of operations that take the contents of a Scene, and displays them on a screen. Unity lets you choose from pre-built render pipelines, or write your own. More info
See in Glossary (URP) sceneA Scene contains the environments and menus of your game. Think of each unique Scene file as a unique level. In each Scene, you place your environments, obstacles, and decorations, essentially designing and building your game in pieces. More info
See in Glossary, set its MeshThe main graphics primitive of Unity. Meshes make up a large part of your 3D worlds. Unity supports triangulated or Quadrangulated polygon meshes. Nurbs, Nurms, Subdiv surfaces must be converted to polygons. More info
See in Glossary Renderer component to be compatible with 2D scenes. This makes the 3D GameObject use 2D features like 2D lighting in URP.
Use either of the following approaches:
When you create a 3D GameObject in a 2D URP project, Unity automatically assigns the Mesh2D-Lit-Default material. This material makes the GameObject compatible with 2D Lights.
To add the default Mesh2D-Lit-Default material to an existing 3D GameObject, follow these steps:
To create a compatible shader in Shader Graph for a Mesh Renderer or Skinned Mesh Renderer, follow these steps: