Hello,
to reproduce:
- I'm using Unity 6 on a Mac M3 (rendering w/ Metal).
- I created a project with the Universal render pipeline for 3D (the default 3d template I guess)
- I installed the Entities package
- I created a subscene, open it, and created a cube there. no scripts, no systems, just a cube.
when I hit play, the cube is not shown on the camera in the Play window.
Is this an expected behaviour? if this is the case, what of the whole pipeline am I getting wrong ( maybe the unity version?) ?
I've seen people suggesting to install an additional package, called Entities Graphics, but: the package's last update date is September 2024 and when I install it I get the following error so I gues the package is not compatible with the library.
NullReferenceException: Object reference not set to an instance of an object Unity.Rendering.RegisterMaterialsAndMeshesSystem.RegisterMaterialsAndMeshes (Unity.Jobs.JobHandle inputDeps) (at ./Library/PackageCache/com.unity.entities.graphics@8ef2c379519b/Unity.Entities.Graphics/EntitiesGraphicsSystem.cs:534) Unity.Rendering.RegisterMaterialsAndMeshesSystem.OnUpdate () (at ./Library/PackageCache/com.unity.entities.graphics@8ef2c379519b/Unity.Entities.Graphics/EntitiesGraphicsSystem.cs:376) Unity.Entities.SystemBase.Update () (at ./Library/PackageCache/com.unity.entities@e581b903be8e/Unity.Entities/SystemBase.cs:418) Unity.Entities.ComponentSystemGroup.UpdateAllSystems () (at ./Library/PackageCache/com.unity.entities@e581b903be8e/Unity.Entities/ComponentSystemGroup.cs:723) UnityEngine.Debug:LogException(Exception) Unity.Debug:LogException(Exception) (at ./Library/PackageCache/com.unity.entities@e581b903be8e/Unity.Entities/Stubs/Unity/Debug.cs:17) Unity.Entities.ComponentSystemGroup:UpdateAllSystems() (at ./Library/PackageCache/com.unity.entities@e581b903be8e/Unity.Entities/ComponentSystemGroup.cs:728) [...]
edit: solved. how? after installing the graphics package, close and reopen the project.