Re:Basic Concepts in Unity for Software Engineers
by Waterluvian on Monday October 12, 2020 @12:13AM
(#24751328)
Can Scenes be stitched together? Say I wanted to keep loading open world tiles as my character walked a long distance.
[ Parent
| on HN ]
Re:Basic Concepts in Unity for Software Engineers
by PudgePacket on Monday October 12, 2020 @12:28AM
(#24751388)
Yes, multiple scenes are common practise. Using it to stitch game worlds is not common though. Most terrain systems would have their own, more optimal/efficient ways of doing that.
https://docs.unity3d.com/ScriptReference/SceneManagement.Loa...
https://gamedevacademy.org/a-guide-to-handling-huge-worlds-i...
Re:Basic Concepts in Unity for Software Engineers
by Eyas on Monday October 12, 2020 @12:30AM
(#24751405)
That might be true for for some terrain systems, but AFAICT it is still common for other objects (e.g. units, buildings, etc.) to be loaded like that.
Re:Basic Concepts in Unity for Software Engineers
by offtop5 on Monday October 12, 2020 @12:18AM
(#24751344)
https://docs.unity3d.com/ScriptReference/SceneManagement.Loa...
Sure , you can add more scenes . I've never done it to create terrain though. Another trick is to not destroy certain game objects on load.
Re:Basic Concepts in Unity for Software Engineers
by klodolph on Monday October 12, 2020 @12:20AM
(#24751357)
https://docs.unity3d.com/ScriptReference/SceneManagement.Sce...
See “mode” parameter—additive. This doesn’t answer how you unload.
Re:Basic Concepts in Unity for Software Engineers
by gamblor956 on Monday October 12, 2020 @03:22AM
(#24752176)
Yes, in 2020 Unity introduced the concept of "SubScenes" which allow for large worlds (i.e., MMO-style loading).
Re:Basic Concepts in Unity for Software Engineers
by learc83 on Monday October 12, 2020 @08:01AM
(#24753521)
Subscenes are still in the preview stage, and they recently even removed the ECS stuff from the package manager listings (you have to find the names of the packages directly from the forums) to prevent people from thinking that they were production ready.
I was using the ECS for the last 2 years, and I wouldn't recommend it to anyone who actually wants to get something into production. My guess is it will be somewhere late 2021 or 2022 before it's actually production ready.