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
-1
Question by $$anonymous$$ · Dec 05, 2016 at 07:31 AM · buildsceneupside-down

Why is the scene upside down?

When I test the game in play mode the scene is just fine, but if I build the game and play it the scene is flipped upside-down. Is there anyway to fix this problem? Thanks in advance...

Comment
Add comment · Show 12
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 $$anonymous$$ · Dec 04, 2016 at 09:32 PM 0
Share

ID$$anonymous$$ if this is related to the problem, but this happened after I imported some camera effects from Standard Assets.

avatar image Cherno · Dec 05, 2016 at 01:01 PM 0
Share

Is it the scene that is upside down (sounds strange to me), or just the camera rotated around it's z axis 180 degrees, or the camera rendering the scene upside down regardless of rotation?

avatar image $$anonymous$$ Cherno · Dec 05, 2016 at 01:50 PM 0
Share

I know it's strange. it's not the camera though. The image is not rotated upside-down but it's flipped. It works fine in play mode.

avatar image Bunny83 · Dec 05, 2016 at 01:12 PM 0
Share

"if I build the game" what target platform?

avatar image $$anonymous$$ Bunny83 · Dec 05, 2016 at 01:53 PM 0
Share

The target platform is Windows; x86.

avatar image edcx · Dec 05, 2016 at 01:54 PM 0
Share

$$anonymous$$aybe the orientation in the player settings is upside-down.

avatar image tanoshimi · Dec 05, 2016 at 03:06 PM 2
Share

Given that you've mentioned image effects, my guess is that it's related to https://docs.unity3d.com/$$anonymous$$anual/SL-PlatformDifferences.html

Are you building for DX or OpenGL?

avatar image $$anonymous$$ tanoshimi · Dec 05, 2016 at 04:12 PM 0
Share

@tanoshimi You're right, it is related to that. I found out that the problem is on the Global Fog Shader but it is using:

// #if UNITY_UV_STARTS_AT_TOP if (_$$anonymous$$ainTex_TexelSize.y < 0) uv.y = 1-uv.y; #endif //

...to flip the image.

If you have any idea how to fix this problem please help. I'd appreciate your help.

avatar image tanoshimi tanoshimi · Dec 05, 2016 at 10:22 PM 0
Share

Have you tried uncommenting that line by removing the // ?

avatar image $$anonymous$$ tanoshimi · Dec 05, 2016 at 10:34 PM 0
Share

I used the // because the line was not showing correctly. It's not used in the actual script.

Show more comments

1 Reply

· Add your reply
  • Sort: 
avatar image
0

Answer by Girst · Jun 17, 2017 at 05:02 PM

Got the same prob. Tried to reset player settings but it wont fix anything.

Anybody got a hint how to fix it?

Comment
Add comment · Show 2 · 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 Girst · Jun 17, 2017 at 05:32 PM 0
Share

Ok. Problem was a Unity std. asset. Its the global fog script.

avatar image tanoshimi · Jun 17, 2017 at 07:37 PM 0
Share

Please don't post an answer unless you're attempting to answer the question. The fact that this was caused by global fog was pointed out 6 months ago in the comments above...

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

Distribute terrain in zones 3 Answers

Build Wrong Scene ? 2 Answers

Unity Scene File in Build Question 1 Answer

How to get the amount of scenes in a build? 1 Answer

Unity3d build problem, mb ? 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