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 Kith · Jun 25, 2011 at 07:01 PM · loadlevelscenesapplication

Application.LoadLevel strange problem

Hello again guys.

I'm having a very strange problem with changing scenes in Unity. We have a trigger that shows a texture for 3 seconds then loads the next scene. The texture shows up on screen fine, but after 3 seconds, the scene that is loaded looks as though it's a very strange mashup of the previous scene and the new scene. Not only that, when the player moves, it leaves an image trail on the screen. I don't know what code to post, because I can't even begin to imagine where the problem is. I'll be happy to post some of the code though if you need it.

P.S. I'm not using Object.DontDestroyOnLoad at all.

Thanks for the help

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 Kith · Jun 25, 2011 at 07:04 PM 0
Share

Update: It seems that the problem had something to do with the skybox used o.O. $$anonymous$$akes no sense to me, but as soon as I really understand what's going on. I'll post an answer.

avatar image dmutt · Oct 30, 2014 at 06:28 PM 0
Share

I know this is an ancient post, but did you ever figure out what was going on with that? I have the same crap going on in my game when porting to Windows Store.

2 Replies

· Add your reply
  • Sort: 
avatar image
1

Answer by Bunny83 · Jun 25, 2011 at 08:19 PM

Well, that's what i would have suggested :D It seems your camera in your new scene doesn't clear the color / depth - buffer. Check the clearFlags on your camera.

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 Biendeo · Jun 25, 2011 at 09:03 PM

Basically, I think that your problem is the camera's Clear Flag setting. The camera stores all the colour information it gets, and the Clear Flag setting chooses what it keeps. There are 4 settings for this option.

  1. Skybox - Allows the skybox to work

  2. Solid Colour - Forces a colour to the background

  3. Depth Only - Allows objects to appear in front of everything all the time (such as a gun in an FPS)

  4. Don't Clear - Does not remove any information between frames, thus giving that effect.

Now, if you have multiple cameras, you can set different settings to get different effects.

However, if you're saying the skybox itself was the problem, check to see if your skybox doesn't have any transparent pixels in it, because that may mess up the camera.

If all else fails, try making a new skybox with the same materials, and then just replacing it. That happened to me before.

Hopefully this works.

-Biendeo

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

5 People are following this question.

avatar image avatar image avatar image avatar image avatar image

Related Questions

Load Level in background and load it when key is pressed 2 Answers

Click Object to change scene 2 Answers

Levels, stages, scenes 0 Answers

Player position after application.LoadLevel 1 Answer

spawn position after application.loadlevel 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