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 hmsmnt · Jan 17, 2014 at 01:24 AM · androidiosterrainmobileperformance

big terrain performance && mobile

Hi guys I want to make an open world game.. So I need to do a very huge map! I know that if a make a big terrain, Unity loads it all killing my RAM :D Is splitting terrain in smaller terrains a good solution to solve the problem? How can i do it simply? Are there other methods to increase performance using a very very very very huge terrain?

Another thing.. I'm doing this game for Android/IOS.. Do you suggest me to buy terrain4mobile or something similar to do my map? Now I'm using the default terrain object and it works great.. Does t4m increase a lot the performance?

thanks :)

Comment
Add comment · Show 5
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 getyour411 · Jan 17, 2014 at 01:25 AM 1
Share

If you turn on render Stats, what's your Tris/Verts as you move around?

avatar image hmsmnt · Jan 17, 2014 at 01:40 AM 0
Share

In the big city (the most populated zone of the map): 135k verts and 90k tris but the game is designed for tablet and powerful phones infact it runs so good

but i'm working on a piece of terrain.. i have not done all the map

avatar image HuskyPanda213 · Jan 17, 2014 at 01:44 AM 0
Share

You could use terrain-combiners from the asset-store, and the only when your player is blank distance from the terrain it loads it in. And if you want horizons, maybe use billboarding, also alter, trees, grass, and other terrain properties to improve performance. Hope this helps :) Also what is the name of your game and is it co$$anonymous$$g to iOS, I really would like a openworld iOS game!

avatar image hmsmnt · Jan 17, 2014 at 01:51 AM 0
Share

thanks for the answer :) i don't know yet the name I will choose ahah :D anyway i write down your name and i'll contact you when i will publish it ^_^

avatar image HuskyPanda213 · Jan 17, 2014 at 04:07 AM 0
Share

I forgot to say maybe not billboards for vistas, more like, planes, kindof like a skybox, but they need to be planes to disable and enable.

1 Reply

· Add your reply
  • Sort: 
avatar image
0

Answer by shifty · Jan 17, 2014 at 04:56 AM

Use multiple terrains it has the advantage of disabling terrains that are not in the cameras view. Even a simple script that disables terrains that are a certain distance away.

 public GameObject TerrainRef;
 
 void Start () {
  InvokeRepeating("Methodname",2,2);
 }
 
 void Methodname () {
  //write a simple distance method
 }

If you want me to write you a proper script just let me know(little busy atm). USE MULTIPLE!

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 hmsmnt · Jan 17, 2014 at 09:52 AM 0
Share

oh thanks! if you want and you have time, i would appreciate a proper script :D

avatar image fafase · Jan 17, 2014 at 10:06 AM 0
Share

Take the size of your terrain and if you are too far (using Vector3.Distance) from it then disable the terrain. That is the simple way.

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

21 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

Related Questions

Profiler Alpha Mobile 0 Answers

Why is there a performance discrepancy between LG G4 and iPhone 6s 0 Answers

Texture Quality - Performance for Mobile Devices 2 Answers

FPS of up-to-date action game on mobile devices? 60 vs 30 FPS? 0 Answers

Coin Magnet Performance Issue Mobile 3 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