Wayback Machinekoobas.hobune.stream
May JUN Jul
Previous capture 13 Next capture
2021 2022 2023
1 capture
13 Jun 22 - 13 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 Rs31412 · Mar 17, 2014 at 07:26 AM · editorbuildbuild and run

Build and Run moves all of my Player objects, works fine in Editor

When doing "Build and Run" or "Build" from build settings all of my player objects are moved to the center of the level. I have a Start screen, an instruction screen, credit screen, and a gameplay screen. The instructions, credit and start screens work fine in which they just display text and have a button to go to the appropriate level. On my start screen I have a play button that goes to the gameplay screen and when that button is pressed all of my 4 players (all have player controller scripts with inputs used for offline multiplayer) are moved to center. In the editor they are in their respective spawn points on different ends of the map.

No errors show up while building.

Comment
Add comment · Show 5
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 getyour411 · Mar 17, 2014 at 08:23 AM 0
Share

You might have a Game$$anonymous$$anager-type script that's activated on your Start/Play, but while you were developing the game and to avoid constantly having to do instructions/credit/start(anew) maybe you dropped in some code somewhere that did something special to bypass that. When comparing your results in the editor, are you doing the complete cycle?

avatar image Rs31412 · Mar 17, 2014 at 08:27 AM 0
Share

Well, I'm a little confused on your comment, but I just tried building out an older version I had that didn't have the different levels, just the Gameplay level. The same error occurs.

avatar image getyour411 · Mar 17, 2014 at 08:28 AM 0
Share

Since this was just updated http://answers.unity3d.com/questions/59178/strange-phenomenon-after-build-and-run.html

could try that

avatar image Rs31412 · Mar 17, 2014 at 08:32 AM 0
Share

Sorry, my issue occurs on Web and PC Standalone. I haven't tried building for iOS and I don't think I have the same problem as him.

avatar image Rs31412 · May 09, 2014 at 08:22 PM 0
Share

I'm still having this issue! If anyone could help that would be great!

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

20 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

Related Questions

Unity Builds Old Version of my Scene 1 Answer

Distribute terrain in zones 3 Answers

Building my game gives issues 1 Answer

Unity after fixing build with error kept getting error until I changed build name 0 Answers

Save button disabled in Build 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