• 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

Donotdestroy

Cancel

Cancel

All Questions

  • Unanswered Questions
avatar image

Rosebud098 asked

Player health keeps regenerating when moving to a new level

Mar 16, '22 in Help Room

0 Replies

0 Votes

avatar image

timobugz3 asked

Keep Instantiated GameObject while exit gamemode in unity

Jun 1, '20 error·instantiate·executeineditmode·donotdestroy

0 Replies

0 Votes

avatar image

chadfranklin47 commented

DontDestroyOnLoad NetworkManager Bug 5.5.0f3

Feb 24, '18 in Help Room

2 Replies

1 Votes

avatar image

Bunny83 commented

using donotdestroy not working, with an object

Aug 9, '17 find·loadlevelasync·donotdestroy

1 Reply

0 Votes

avatar image

Mmmpies commented

Switching scences without loosing players position

May 31, '16 in Help Room

2 Replies

0 Votes

avatar image

Ali-hatem edited

Passing Score from Game Scene to Game Over Scene usiing dontDestroyOnLoad C#

Feb 28, '16 in Help Room

1 Reply

0 Votes

avatar image

KnightRiderGuy commented

Why Does Prefab Loose UI elements on Scene Change

Dec 19, '15 in Help Room

0 Replies

0 Votes

avatar image

holdingjupiter edited

How to hold information for the split second between running game and returning to edit mode.

Oct 7, '15 in Help Room

0 Replies

0 Votes

avatar image

Landern edited

Teleporting from one scene to another and back again with the same player gameobject

Mar 19, '15 javascript·loadlevel·donotdestroy

1 Reply

0 Votes

avatar image

BenDurch published

DoNotDestroyOnLoad on a starting scene sufficient?

Jun 5, '14 donotdestroy

1 Reply

0 Votes

avatar image

HarshadK commented

When my Player enters the enemy trigger dying sound is played and new scene is loaded. Closed

Apr 11, '14 audiosource·application·audioplay·donotdestroy

0 Replies

-1 Votes

avatar image

Benproductions1 commented

Need the same main camera for multiple scenes

Apr 3, '13 issue·main camera·donotdestroy

2 Replies

0 Votes

avatar image

Michellia published

Boolean being chaned on new scene load

Mar 25, '13 scene·boolean·instance·donotdestroy

1 Reply

0 Votes

avatar image

Naserano commented

Is there any way to destroy script at certain level ?

Sep 26, '11 audiosource·level·music·donotdestroy

1 Reply

0 Votes

Welcome to Unity Answers

If you’re new to Unity Answers, please check our User Guide to help you navigate through our website and refer to our FAQ for more information.

Before posting, make sure to check out our Knowledge Base for commonly asked Unity questions.

Check our Moderator Guidelines if you’re a new moderator and want to work together in an effort to improve Unity Answers and support our users.

Related Topics

c# loadlevel audiosource executeineditmode generic switch main camera scene-switching stats position issue health gameobject networking application ui network.destroy audioplay slider find javascript level loadlevelasync scene-loading spawn


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