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 youssefkhaled1 · Mar 12, 2017 at 10:30 PM · strange ioc

Problem in loading death menu scene

I am facing a problem in my 3d project, I have 3 scenes Main Menu, Game, Death Menu When clicking play in Main menu it switches to game scene for about second then I get the Death Menu, I checked the code it's correct also there is no errors in the console about this problem, and i tried to copy scenes to a new project and still have the same problem what should i do?

Comment
Add comment · Show 2
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 Arcana96 · Mar 13, 2017 at 12:03 AM 0
Share

We need more details, can we see your code?

avatar image SnStarr Arcana96 · Mar 13, 2017 at 01:15 AM 0
Share

Aye. Will need to see code..Without code At this point though I can only assume one of three things...

  1. Immediately upon game start...Player dies immediately because code somewhere is removing his health enough to kill him...therefore sending you to death scene.(80% likely)

  2. Whenever you load the play scene, you have code set to kill player when his health reaches zero, and his health is AT 0 when game starts..killing him, sending you to the death scene.(70% likely)

  3. When you click on play the left click input itself is tied in with dealing damage to player somewhere. (30% likely)

1 Reply

· Add your reply
  • Sort: 
avatar image
0

Answer by youssefkhaled1 · Mar 16, 2017 at 07:09 AM

Their is no health, player dies when a wall hits him, i made a loadscene condition when player dies it loads, should i copy the death code for you or the player code??

Comment
Add comment · Show 1 · 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 dakshesh1010 · Mar 16, 2017 at 08:10 AM 0
Share

$$anonymous$$aybe the player's position in the scene is such that it is touching the wall, hence triggering the death condition, and resulting in loading of death scene. So make sure the position of player is such that this doesn't happen (consider Rigidbody if any).

Yes, you need to show the death code

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

6 People are following this question.

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

Related Questions

Why I can't buy a 47,50$ assets with my 50$ card 0 Answers

Driving simulator reaction time data collection in response to trigger events 0 Answers

in a custom word list only first word is tracked using text recognition in vuforia 0 Answers

UCE0001 ; Expected 0 Answers

Radio streaming 3 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