#Unity 6: Subscene not visible in Play mode

1 messages · Page 1 of 1 (latest)

candid talon
#

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.

autumn sonnet
candid talon
#

may it be that the last update has not been made available from the package manager yet, then?

#

by looking at that changelog, it seems that also there was another release in-between the one I see in the package manager and the last one (1.4.8 on february 2025?). how does the release process work for the packages?

autumn sonnet
#

Actually people using ECS is pretty bleeding edge, we always use the latest version unless strictly prohibited (near release date).

#

You can always modify the Packages/manifest.json to get latest version of anything bypassing the Package Manager window.