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 gamegirl1984 · Nov 17, 2014 at 09:17 AM · audioscene-change

Continue audio during a scene change??

I tried everything I found and nothing has worked so far. I just have a simple audio clip playing and need it to keep paying during the scene change. I won't need it again after its done. I don't need anything else fancy like having another clip start up again, just a simple script to keep this audio with me during the change.

And maybe have everything turn black for like 2 seconds during the change to?? I don't need to bring anything else over expect the audio. Any ideas??

Comment
Add comment · Show 4
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 gamegirl1984 · Nov 17, 2014 at 02:41 PM 0
Share

I did try that but what happened is that I have an audio file that is triggered and that is the file I want to cont. playing. However, when I added the don't destroy on load script my audio file starts playing right away before its even triggered, and play on awake is NOT checked. The don't destroy script is interfering with my audio script.

avatar image playmonkey1 · Nov 18, 2014 at 10:06 AM 0
Share

Could you post your code?

avatar image gamegirl1984 · Nov 18, 2014 at 03:59 PM 0
Share

I would fill up pages with all the diffrent codes I tried so far, I ended up doing somthing else with the audio. Just added a black out right before the scene change, (makes it look like the lights went out) then when they turn on again, the scene has changed already. Works great.

avatar image playmonkey1 · Nov 18, 2014 at 04:28 PM 0
Share

That's brilliant! Glad it's working well.

2 Replies

· Add your reply
  • Sort: 
avatar image
0

Answer by jtok4j · Nov 17, 2014 at 09:20 AM

Hey,

I was also looking for an answer to this question, and came up with these previous questions on the same topic:

http://answers.unity3d.com/questions/59135/playing-music-while-scenes-change.html

http://answers.unity3d.com/questions/471169/urgent-issue-with-music-and-dont-destroy-on-load.html

http://answers.unity3d.com/questions/11314/audio-or-music-to-continue-playing-between-scene-c.html

Seems to be that this isn't possible without Pro, but several possibilities have been offered in the above links. :)

Hope this helps.

Comment
Add comment · 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
0

Answer by playmonkey1 · Nov 17, 2014 at 10:14 AM

If the previous links did not help hopefully this should. Essentially you need to persist a gameObject when loading your new scene. This should help Persist gameObject

Comment
Add comment · 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

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

4 People are following this question.

avatar image avatar image avatar image avatar image

Related Questions

Playing music through complicated scene 1 Answer

Audio 5.1 no rear speakers 0 Answers

Build Scene Assetbundle cannot include Tag 0 Answers

Audio Trigger 3 Answers

Multiple scenes 2 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