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
1
Question by Digital-Phantom · Mar 11, 2015 at 01:41 PM · unity 5errorterrainfalsechunks

WTH does this error mean ? and what exactly is 'false' ?

Ok, so I made a new game/project to try and sort out another issue I was having (thought would be easier with the bare minimum components to resolve it.

Anyway.. did that, created a terrain, centred it at 0,0,0 and pressed play and got this error -

"j - i == terrainChunksInfo.numChunksInX * terrainChunksInfo.numChunksInY"

and a message repeated 11 times that simply says -

"false"

Wouldn't have thought it possible to get an error with nothing but a skybox, light and a terrain in a scene. This is using Unity 5.

Any ideas / suggestions

???

Comment
Add comment · Show 3
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 savlon · Mar 11, 2015 at 01:50 PM 0
Share

The issue may be where you call that line in your code...

avatar image Digital-Phantom · Mar 11, 2015 at 01:59 PM 0
Share

I don't have any code. I mean there is no scripts at all from me, its just an empty scene with a terrain.

The terrains resolution settings were the only thing I changed that for some reason stopped the error. I've used lots of different settings in the past on terrains and never had an error before ?

avatar image amitmwj · Jun 13, 2015 at 03:15 PM 0
Share

I think its only happening when in the mobile platform build settings. When i am in pc build settings .... its fine....no errors like this.

3 Replies

· Add your reply
  • Sort: 
avatar image
2
Best Answer

Answer by Digital-Phantom · Mar 11, 2015 at 01:50 PM

OK I've solved the issue. It was something to do with the texture I was using for the base terrain texture. I increased all(certain) my resolution settings to 2049 and I'm not getting any errors now.

Would still be nice to know what exactly was causing the error though for future ref (and in case any other users have a similar issue)

:)

Comment
Add comment · Show 9 · 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 meat5000 ♦ · Mar 11, 2015 at 01:53 PM 1
Share

Do you know how to use Google? No offence intended ;)

All I did was paste that line in to google and 2 hits came out, one of them was this

http://issuetracker.unity3d.com/issues/terrain-leaving-play-mode-in-a-scene-with-a-terrain-causes-a-freeze.

So it was a known issue in the Beta but I do believe that UT devs are under the impression it was fixed; you will have to check the Fixed Bugs list to find out.

They will be most interested to find out that the bug still occurs in Release.

Looking at your fix, it seems that if your texture res and terrain res dont match up, the Dynamic Lighting system simply tries to address some texture coordinates that dont exist. In that respect the issue may appear to go away if you simply disable Dynamic lighting in the terrain; of course this is probably not desirable.

avatar image Digital-Phantom meat5000 ♦ · Mar 11, 2015 at 02:11 PM 0
Share

Thanks @meat5000

I've sent in a bug report via the editor so the devs can have a look and solve it, if it is indeed a bug.

avatar image meat5000 ♦ · Mar 11, 2015 at 02:05 PM 0
Share

I agree, it would be nice to know the real cause.

The issue tracker stated it was an error with the dynamic lighting so I imagine the issue came from lighting in conjunction with that texture.

Perhaps, post the texture somewhere online and link it in the comments section of the issue I linked below.

avatar image meat5000 ♦ · Mar 11, 2015 at 02:13 PM 0
Share

Thanks for the accepted status but in this case, given the information, I do believe your fix is the proper answer and not a workaround.

avatar image Digital-Phantom · Mar 11, 2015 at 02:20 PM 0
Share

Here is the texture if anybody wants it, or wants to see if they cab recreate the error -

https://www.dropbox.com/s/x6rpsr9ox3tg6nu/Cracked%20Sandy%20Ground.jpg?dl=0

avatar image meat5000 ♦ · Mar 11, 2015 at 02:24 PM 0
Share

Could you post a screener of what the import settings for the texture looked like before you fixed it? The texture looks normal but out of curiosity, could you import it to GI$$anonymous$$P or Photoshop and export it as a png with an alpha channel added?

Show more comments
avatar image
2

Answer by nikoosefat · Feb 21, 2016 at 08:12 PM

uncheck Draw option in base terrain setting and recheck it.

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
avatar image
0

Answer by MuchBad · May 04, 2015 at 10:29 AM

I got this error after copying all my files into a new folder trying to fix a different bug. My solution. I deleted the terrain, and then created a new one. Maybe the terrain has something to do with the folder name lol I don't know but it fixed my issue.

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

26 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 avatar image avatar image

Related Questions

TerrainComposer Error Unity 5: DirectoryNotFoundException: Could not find a part of the path... 0 Answers

Why do Unity 5 is glitched as hell? Please, I need help... 0 Answers

"Error building Player" WebGL build error 2 Answers

Strange Shadow Boxes or X's Appear on the Terrain When I Add Lights 1 Answer

Failed to re-package resources using everyplay plugin and google play plugin for leaderboard 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