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 jorjdboss · Jun 17, 2014 at 05:18 AM · windowsfreezehangautorotation

Windows 8 auto-rotation causes game to hang

I'm running it on an Asus Transformer Book T100 (Windows 8.1). The game hangs(not responding in task manager) when the device auto-rotates while the game is running. The only way to close it is to terminate the process from task manager.

When building as Windows/Mac standalone, the player settings doesn't have any setting for autorotation. Is there a way I can prevent auto-rotation on Windows 8.1 when the game is running or exit the program.

Comment
Add comment · Show 1
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 Nick4 · Jun 17, 2014 at 05:57 AM 0
Share

You mean your mobile device?

3 Replies

· Add your reply
  • Sort: 
avatar image
0

Answer by tswalk · Jun 17, 2014 at 06:50 AM

While I believe the guidelines for Windows Store Apps says to support orientation changes, it also provides fixed-layout recommendations.

http://msdn.microsoft.com/en-us/library/windows/apps/hh465349.aspx

However, you should be able to restrict the orientation change within the app manifest designer (settings) or via code:

http://msdn.microsoft.com/en-US/library/windowsphone/develop/windows.graphics.display.displayproperties.autorotationpreferences.aspx

Comment
Add comment · Show 1 · 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 jorjdboss · Jun 19, 2014 at 08:10 AM 0
Share

This is a standalone windows exe, not a store app.

avatar image
0

Answer by SteelArrow21 · Jun 17, 2014 at 06:38 AM

Edit>Project Settings>Player

Click the black phone

Click "Resolution and Presentation"

Then choose the orientation you want.

Then go to File>Build Settings

Change the platform to Windows Phone 8

Im not sure if the device can be considered a phone, but its worth a shot.

Comment
Add comment · Show 1 · 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 jorjdboss · Jun 19, 2014 at 08:14 AM 0
Share

Orientations are set to portrait in all three mobile settings, makes no difference when building standalone windows exe.

avatar image
0

Answer by jorjdboss · Jun 25, 2014 at 08:45 AM

I figured this out from this link.

Basically, you make the application borderless and then bring up the windows touch keyboard by launching TABTIP.exe, when textfields are selected.

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

24 People are following this question.

avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image

Related Questions

Unity Hangs on Startup with minimal log (Win 7) 0 Answers

Pressing Play with the console tab showing freezes Unity. 1 Answer

Game random freeze / hang up / stuck 0 Answers

Unity Freezing 1 Answer

Showing a second ObjectPicker as soon as the first one closes freezes the editor 0 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