Wayback Machinekoobas.hobune.stream
May JUN Jul
Previous capture 12 Next capture
2021 2022 2023
1 capture
12 Jun 22 - 12 Jun 22
sparklines
Close Help
  • Products
  • Solutions
  • Made with Unity
  • Learning
  • Support & Services
  • Community
  • Asset Store
  • Get Unity

UNITY ACCOUNT

You need a Unity Account to shop in the Online and Asset Stores, participate in the Unity Community and manage your license portfolio. Login Create account
  • Blog
  • Forums
  • Answers
  • Evangelists
  • User Groups
  • Beta Program
  • Advisory Panel

Navigation

  • Home
  • Products
  • Solutions
  • Made with Unity
  • Learning
  • Support & Services
  • Community
    • Blog
    • Forums
    • Answers
    • Evangelists
    • User Groups
    • Beta Program
    • Advisory Panel

Unity account

You need a Unity Account to shop in the Online and Asset Stores, participate in the Unity Community and manage your license portfolio. Login Create account

Language

  • Chinese
  • Spanish
  • Japanese
  • Korean
  • Portuguese
  • Ask a question
  • Spaces
    • Default
    • Help Room
    • META
    • Moderators
    • Topics
    • Questions
    • Users
    • Badges
  • Home /
  • Help Room /
avatar image
0
Question by Jay2645 · Dec 10, 2015 at 05:39 AM · scenesinstantiationscene loadscene change

Working with multiple scenes?

I've never worked with multiple scenes in Unity before -- I always worked with Unity Free back when that was a thing, and I believe loading multiple scenes used to be a Pro-Only feature. Once that model got dropped, it was never something I really played around with at all. With the new multi-scene editing stuff, it's come up on my radar as something I'm curious about looking into, but honestly I'm not sure exactly what would be the best way to use it.

What is the best way to take advantage of multiple scenes if, say, you wanted to create a large world with acceptable framerates? Are there any tips or "rules of thumb" that can be used to determine whether a scene should be broken up into smaller scenes?

I imagine it's probably good practice to make all building interiors their own scenes so they can be loaded or unloaded as needed, as well as any sorts of villages and the like that are "far away" from the player. What about something like a large 2 KM^2 terrain or forest?

Can we "instantiate" scenes in different locations? For example, say we compartmentalize a village scene, which has lots of AI and houses and stuff. We want to use this village scene in a couple different places. Let's assume for simplicity's sake that we're okay with the geometry of the scene being the same, but we want the AI in the scene to act independently of each village instance (i.e. if 2 villages are next to each other, the AI shouldn't be a mirror image of one another).

Additionally, we want the AI to move around and pathfind on the terrain of the "parent" level, while still "belonging" to the village scene instance so they can be unloaded once the player leaves the area (let's assume we're also okay with the AI "resetting" to their defaults once the scene gets loaded again). Would they be okay pathfinding on something that doesn't "belong" to them? I don't see why not, but again I've never worked with multiple scenes before so I'm not sure about the details.

Thanks!

Comment
Add comment
10 |3000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users

0 Replies

· Add your reply
  • Sort: 

Your answer

Hint: You can notify a user about this post by typing @username

Up to 2 attachments (including images) can be used with a maximum of 524.3 kB each and 1.0 MB total.

Follow this Question

Answers Answers and Comments

30 People are following this question.

avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image

Related Questions

I have several scenes in 3D, and I want them to change after colliding the player with an object. How do I do this? 1 Answer

How to change scenes based on an if else statement C# 1 Answer

How's my SceneManager? 0 Answers

[SOLVED] Unity opens scene as script (problem, error, bug) 3 Answers

Problem with script in multiple scenes needing to refer to FPS Controller. 1 Answer


Enterprise
Social Q&A

Social
Subscribe on YouTube social-youtube Follow on LinkedIn social-linkedin Follow on Twitter social-twitter Follow on Facebook social-facebook Follow on Instagram social-instagram

Footer

  • Purchase
    • Products
    • Subscription
    • Asset Store
    • Unity Gear
    • Resellers
  • Education
    • Students
    • Educators
    • Certification
    • Learn
    • Center of Excellence
  • Download
    • Unity
    • Beta Program
  • Unity Labs
    • Labs
    • Publications
  • Resources
    • Learn platform
    • Community
    • Documentation
    • Unity QA
    • FAQ
    • Services Status
    • Connect
  • About Unity
    • About Us
    • Blog
    • Events
    • Careers
    • Contact
    • Press
    • Partners
    • Affiliates
    • Security
Copyright © 2020 Unity Technologies
  • Legal
  • Privacy Policy
  • Cookies
  • Do Not Sell My Personal Information
  • Cookies Settings
"Unity", Unity logos, and other Unity trademarks are trademarks or registered trademarks of Unity Technologies or its affiliates in the U.S. and elsewhere (more info here). Other names or brands are trademarks of their respective owners.
  • Anonymous
  • Sign in
  • Create
  • Ask a question
  • Spaces
  • Default
  • Help Room
  • META
  • Moderators
  • Explore
  • Topics
  • Questions
  • Users
  • Badges