• 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

Dontdestroyonload

Cancel

Cancel

All Questions

  • Unanswered Questions
avatar image

MagicMan4261 answered

,Don't destroy on load slowing down load times?

16 hours ago dontdestroyonload

1 Reply

0 Votes

avatar image

Llama_w_2Ls answered

How to STOP music when loading a SPECIFIC SCENE?

3 days ago audio·music·dontdestroyonload·disable object·disabling

1 Reply

0 Votes

avatar image

logicandchaos commented

Change the scene, keep gameobject values

5 days ago dontdestroyonload·values·scene-change

5 Replies

0 Votes

avatar image

SkillcraftHD answered

Making a reference to a script that DontDestroyOnLoad

Dec 30, '20 audio·dontdestroyonload

2 Replies

0 Votes

avatar image

highpockets answered

How does DontDestroyOnLoad working?

Dec 23, '20 scene-switching·dontdestroyonload·new·initialization

2 Replies

0 Votes

avatar image

Llama_w_2Ls answered

DontDestroyOnLoad doesn't work on child objects

Dec 17, '20 audiosource·dontdestroyonload

1 Reply

0 Votes

avatar image

lcplrice commented

How to start new audio-track and switch off prior audio-track when player is back at main menu?

Dec 16, '20 audio·dontdestroyonload·mainmenu

0 Replies

0 Votes

avatar image

lochan_vishwanath commented

DontDestroyOnLoad reset at certain point

Dec 4, '20 score·reset·dontdestroyonload·load scene

2 Replies

0 Votes

avatar image

SuperCrow2 edited

Don't Destroy on Load not working for me

Nov 26, '20 c#·gameobject·unity 2d·dontdestroyonload·isometric

1 Reply

0 Votes

avatar image

xxmariofer commented

DontDestroyOnLoad() Unity 3D

Nov 24, '20 camera·3d·player·fps·dontdestroyonload

0 Replies

0 Votes

avatar image

damobe commented

Destroy object with dontdestroyonload Closed

Nov 21, '20 in Help Room

2 Replies

2 Votes

avatar image

cerenkeklik published

UNITY2D: How do I destroy previous object with Singleton Pattern?

Oct 26, '20 c#·dontdestroyonload·singleton

0 Replies

0 Votes

avatar image

Eldamir88 answered

DontDestroyOnLoad on disabled object doesn't work?

Sep 18, '20 scene·scene-loading·dontdestroyonload

1 Reply

0 Votes

avatar image

Recluse commented

How to get rid of the duplicates created by DontDestroyOnLoad?

Sep 11, '20 ui·scene-switching·dontdestroyonload·how·duplicate

3 Replies

2 Votes

avatar image

PMacDev commented

DontDestroyOnLoad calls Awake() and Start() function each time the scene is reloaded

Sep 8, '20 dontdestroyonload·application.loadlevel

4 Replies

1 Votes

avatar image

AdrianTEC answered

My music duplicates and gives an error

Sep 5, '20 scene·music·scenes·dontdestroyonload

1 Reply

0 Votes

avatar image

BenWiller1989 commented

Animator destroyed on DontDestroyOnLoad Closed

Sep 4, '20 animator·destroy·dontdestroyonload·begginer

2 Replies

0 Votes

avatar image

ugurberkecanunlu commented

FindGameObjectsWithTag not finding a tagged object

Aug 20, '20 dontdestroyonload·findgameobjectswithtag

4 Replies

0 Votes

avatar image

METAZMUST commented

Quality settings reset after scene loads

Aug 16, '20 graphics·settings·dontdestroyonload

2 Replies

0 Votes

avatar image

Skngh asked

How do I keep a scene altered after the player leaves the scene and then comes back?

Aug 1, '20 in Help Room

0 Replies

0 Votes

avatar image

madScientist9 commented

Objects being duplicated with DontDestroyOnLoad Closed

Jul 27, '20 dontdestroyonload

6 Replies

9 Votes

avatar image

wasssim commented

Unity Reload Scene - References missing / objects inactive upon reload

Jun 27, '20 in Help Room

0 Replies

1 Votes

avatar image

babasuter edited

Zelda Room Switching & Preventing Duplicate Player Spawns from dontdestroyonload

Jun 22, '20 c#·map·dontdestroyonload·persistence

2 Replies

0 Votes

avatar image

friedplant published

dontdestroyonload scene being created on play? what is this and how do I get rid of it?

Jun 22, '20 scene·dontdestroyonload·playmode

2 Replies

0 Votes

avatar image

wasssim commented

How to DontDestroyOnLoad a specific ui of a canvas? Closed

Jun 22, '20 c#·ui·canvas·dontdestroyonload·child object

1 Reply

0 Votes

avatar image

greens356 answered

How to persist player inventory using dictionary between scenes

Jun 9, '20 inventory·scene-switching·dontdestroyonload·inventory system·persistence

2 Replies

0 Votes

avatar image

Rebekah-D-David edited

Why does my slider properties go missing when switching scenes ?

Jun 6, '20 playerprefs·slider·dontdestroyonload·main menu·switch scenes

1 Reply

0 Votes

avatar image

BDR530 edited

DontDestroyOnLoad & Singleton

May 29, '20 2d·list·instance·dontdestroyonload·singleton

2 Replies

0 Votes

avatar image

ihave1000usernamesnow commented

DontDestory gameobject doesn't work on button click after a new scene loads

May 29, '20 gameobject·button·click·dontdestroyonload

2 Replies

2 Votes

avatar image

heyainc edited

How can I set DontDestroyOnLoad Player prefab spawn position and scale?

May 25, '20 in Help Room

0 Replies

0 Votes

  • 1
  • 2
  • 3
  • 4
  • 5
  • ›
  • »

Followers

avatar image

Welcome to Unity Answers

The best place to ask and answer questions about development with Unity.

To help users navigate the site we have posted a site navigation guide.

If you are a new user to Unity Answers, check out our FAQ for more information.

Make sure to check out our Knowledge Base for commonly asked Unity questions.

If you are a moderator, see our Moderator Guidelines page.

We are making improvements to UA, see the list of changes.



Related Topics

c# scene gameobject scene-switching scene-loading destroy loadlevel singleton music scenes score audio scripting problem ui duplicate scene-change playerprefs audiosource javascript load scene static player list canvas prefab
  • Anonymous
  • Sign in
  • Create
  • Ask a question
  • Spaces
  • Default
  • Help Room
  • META
  • Moderators
  • Explore
  • Topics
  • Questions
  • Users
  • Badges