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 FrozenImpact · Jul 28, 2014 at 08:44 AM · chunkschunk

Question about chunks and why do they take so much processing power

Hello!

So I started testing some stuff out in my game, and I've found out that, normally, when my game world is 256*256*256 and the chunks are 16 units large, the game runs fine, at max fps, but when i turn down the chunk size to 8, my fps tanks hard. Aka when i create more chunks, the game lags more. Also, when I enlarge the map to 512*512*512 and the chunks are at 16, the fps tanks aswell, but with 512*512*512 and 32 chunk size, the game runs normally.

Can someone explain what is happening here? My idea is that chunks are supposed to be run once; they are initiated once when the world loads and then only when you update them. Why does having more chunks make the game lag? Its not like they are constantly doing something intensive or store more data when they are smaller... Is it something about memory, that doesnt allow the game to run fast when more than X are in the game?

Thanks!

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 gjf · Jul 28, 2014 at 10:49 AM 0
Share

when you change the chunk size to 8 (i.e. halving it), you're increasing the number of chunks to process by 2x2x2 = 8 ... as in 8x more chunks. similarly for the 16 vs 32 version. depending on your code and how you accessing these chunks, your performance may be adversely affected.

perhaps you can post some of the code for processing and explain a little more about the chunk structure and what, if anything, might be attached to each.

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

2 People are following this question.

avatar image avatar image

Related Questions

Minecraft clone, how to handle grass block colours 1 Answer

Terrain chunk loading and unloading 1 Answer

Multithreaded chunk loading 1 Answer

Question about "Chunks" 1 Answer

Is it a good idea to make many terrain chunks instead of a big one? 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