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 /
avatar image
0
Question by alistairhgrant · Apr 03, 2019 at 12:56 PM · multiplayerbuild settingsofflinescene changesplit-screen

Split-Screen 2 players in different scenes but same game (offline),Split-screen two players in separate scenes (offline) but same game?

Hello, I am making an offline local multiplayer (split-screen format) 2 player game where I want the players to be in separate scenes but within the same game.. They will each move through their own sequence of scenes and then at the end of the game they will both enter the same scene and meet.

At the moment I have a MoveScene C# script attached to a trigger volume that will change the scene for both players into the next scene in the list in the Build Settings.

I could do with knowing how to point each player to their own scene. Is this even possible? I am hoping this would be relatively simple because its offline but I may well be wrong...I am a newb :()

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

1 Reply

· Add your reply
  • Sort: 
avatar image
2

Answer by metalted · Apr 03, 2019 at 01:09 PM

When I started reading the question, I thought... no way this is possible. But after a bit of google magic it turns out you can load multiple scenes into one scene. So you will not be loading 2 scenes at a time, like parallel to each other, but you can create a scene, where you load the two scenes into, like one master scene and two child scenes. Then you can probably make some script to manage the scenes for both players.


Got some info here, hope it helps you, looks pretty easy to me: https://unity3d.college/2016/09/26/scenemanager/

Comment
Add comment · Show 4 · Share
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
avatar image metalted · Apr 03, 2019 at 01:11 PM 0
Share

This will in your case mean that you don't use the regular scene.load function. You need to load one scene, your master scene. Add the scene for player 1, add the scene for player 2. Then you can manage the scenes like you would with objects I think. So if player 1 reaches the trigger, delete scene1, add scene2, move player to start position of scene2, repeat.

avatar image alistairhgrant · Apr 03, 2019 at 04:37 PM 0
Share

amazing thanks for your help. Ill give this a shot over next few days and will update this thread with the outcome.

avatar image RobAnthem · Apr 03, 2019 at 05:15 PM 0
Share

I can't imagine a scenario where this is a better solution than packaging the entire scene into a prefab and instantiating it twice. Especially since the other way you end up with 2 directional lights, possibly overlapping navmeshes, incorrect occlusion, etc.

avatar image alistairhgrant RobAnthem · Apr 04, 2019 at 08:57 AM 0
Share

Hey Rob, ok I can test that also. Each player is going to be in a totally different scene, eg. Player on the left side is in an FPS level, player on right is going to be in a forest. So yeah I thought this separate scene approach was best because each space has different lighting properties and skyboxes etc. thanks for advice

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

175 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 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 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 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 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 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

How to leave / Exit the LobbyManager and go back to main menu ? 2 Answers

Duplicate a scene for split screen game 2 Answers

Multiple Playstation 3 Controllers on Mac OS for 2 Player Split Screen 0 Answers

RPC /Standalone modes 2 Answers

Drop in/ Drop out Co-op 0 Answers


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