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 Exalia · Sep 18, 2013 at 09:11 AM · loadingcustomizationqualitysettingsantialiasing

Loading your game with specific settings

Hey I trying to get my game to have the option of using Anti Aliasing or not. To do that I have stored my settings in a suitable format in local document.

The problem I have now is I would like to tell unity to use the Quality settings in this file before the game loads.

Can anyone help me out with that? Thanks

Comment
Add comment · Show 14
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 syclamoth · Sep 18, 2013 at 09:14 AM 0
Share

Why can't you just use the built-in 'QualitySettings' class for this? Isn't it already one of the options you have there?

avatar image Exalia · Sep 18, 2013 at 09:22 AM 0
Share

Really tired of the "Why cant you do X" 'answers'...

It's really not helpful at all

avatar image syclamoth · Sep 18, 2013 at 09:32 AM 0
Share

I'm sorry for sounding condescending, but you'll have to forgive me for suggesting an alternate approach. It is very common for people to come here asking about needlessly roundabout ways of doing things, who have not even thought of more consise, elegant and straightforward solutions. I will assume you have a very good reason for doing things in this way from now on. Also, this is why I posted it as a 'comment', not an 'answer'.

The basic problem here is that you need Unity do do something before it loads your code (since everything you make is essentially configuration data for the engine). I assume you already have the File IO stuff sorted out? As far as I can tell, the only way to make this work is to load a very small, empty scene as the 'initial' level, which loads the external data you need before bootstrapping the rest of the application.

avatar image Exalia · Sep 18, 2013 at 09:35 AM 0
Share

Thanks.

You see this won't work either because the GLContext will already be created. This needs to happen before any Context is created at all. Just like on the PC version you have a launcher that lets you pick what settings you'd like. I'd need to access this configuration file.

(I'm running on android I guess I forgot to mention that)

avatar image syclamoth · Sep 18, 2013 at 09:41 AM 0
Share

So the real question here is 'How do I tell Unity to create its GLContext with custom options?'. I'm pretty sure you can't do that, but to be fair I've never had reason to try...

Show more comments

0 Replies

· Add your reply
  • Sort: 

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

18 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

Related Questions

Quality Menu Not working 1 Answer

The best way to load a bunch o resources 1 Answer

Progress of loading level 1 Answer

can gameobjects be stored as static? 1 Answer

RAM problem loading a lot of sound files using WWW. 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