Hi.
I have a case where I try to render a World Space Canvas, that is created inside a SubScene, but up to now I completely failed to make it work.
My camera won’t render my Canvas, but it will render any other entity correctly, or even Canvas that are outside of subscene. I tried to render it as GameObject with the “Conver to Entity (Stop)”, but it didn’t help
How to reproduce
Prepare standard scene
-
Create a new Scene (it will create a new Main Camera)
-
Add a new canvas to the scene
-
Set the canvas to World Space
-
Add a Panel to the canvas
-
Adjust the camera until you see the panel in camera view of the Scene View
-
Hit “Play” and Validate that we can see the Panel in Game mode
-
Select the camera and you will the panel render
-
Hit “Play” and you will the panel render
Now create the subscene
-
Right click the canvas in Hierarcy and then “New Sub Scene > From Selection”
-
Save the new subscene
-
Add “Convert To Entity (Stop)” on the canvas
-
Select the camera in Hierarchy and validate you still see the panel in camera view of the Scene View
-
Hit “Play” and enter Game Mode
-
PROBLEM: The Canvas (panel) do not render
Miscelanous notes
My packages versions:
{
"dependencies": {
"com.unity.burst": "1.6.5",
"com.unity.cinemachine": "2.8.4",
"com.unity.collab-proxy": "1.15.16",
"com.unity.collections": "1.2.3",
"com.unity.entities": "0.50.1-preview.2",
"com.unity.ext.nunit": "1.0.6",
"com.unity.ide.visualstudio": "2.0.15",
"com.unity.ide.vscode": "1.2.5",
"com.unity.jobs": "0.50.0-preview.8",
"com.unity.mathematics": "1.2.6",
"com.unity.physics": "0.50.0-preview.43",
"com.unity.platforms": "0.50.0-preview.4",
"com.unity.probuilder": "5.0.4",
"com.unity.quicksearch": "2.0.2",
"com.unity.render-pipelines.universal": "10.9.0",
"com.unity.rendering.hybrid": "0.50.0-preview.24",
"com.unity.test-framework": "1.1.31",
"com.unity.testframework.graphics": "7.8.23-exp.2",
"com.unity.textmeshpro": "3.0.6",
"com.unity.timeline": "1.6.4",
"com.unity.ugui": "1.0.0",
"com.unity.modules.ai": "1.0.0",
"com.unity.modules.androidjni": "1.0.0",
"com.unity.modules.animation": "1.0.0",
"com.unity.modules.assetbundle": "1.0.0",
"com.unity.modules.audio": "1.0.0",
"com.unity.modules.cloth": "1.0.0",
"com.unity.modules.director": "1.0.0",
"com.unity.modules.imageconversion": "1.0.0",
"com.unity.modules.imgui": "1.0.0",
"com.unity.modules.jsonserialize": "1.0.0",
"com.unity.modules.particlesystem": "1.0.0",
"com.unity.modules.physics": "1.0.0",
"com.unity.modules.physics2d": "1.0.0",
"com.unity.modules.screencapture": "1.0.0",
"com.unity.modules.terrain": "1.0.0",
"com.unity.modules.terrainphysics": "1.0.0",
"com.unity.modules.tilemap": "1.0.0",
"com.unity.modules.ui": "1.0.0",
"com.unity.modules.uielements": "1.0.0",
"com.unity.modules.umbra": "1.0.0",
"com.unity.modules.unityanalytics": "1.0.0",
"com.unity.modules.unitywebrequest": "1.0.0",
"com.unity.modules.unitywebrequestassetbundle": "1.0.0",
"com.unity.modules.unitywebrequestaudio": "1.0.0",
"com.unity.modules.unitywebrequesttexture": "1.0.0",
"com.unity.modules.unitywebrequestwww": "1.0.0",
"com.unity.modules.vehicles": "1.0.0",
"com.unity.modules.video": "1.0.0",
"com.unity.modules.vr": "1.0.0",
"com.unity.modules.wind": "1.0.0",
"com.unity.modules.xr": "1.0.0"
}
}
Question
Any tips / ideas on how to fix?
Thank you!