When baking GI i keep getting a lot of errors like…
chunkY >= 0 && chunkY <= 0xffff
and
terrainInstanceHashes.find (instances*.instanceID) != terrainInstanceHashes.end ()*
Anyone know how to fix this ?
When baking GI i keep getting a lot of errors like…
chunkY >= 0 && chunkY <= 0xffff
and
terrainInstanceHashes.find (instances*.instanceID) != terrainInstanceHashes.end ()*
Anyone know how to fix this ?
Hi! The error is coming from a terrain that is getting lightmapped. We have a bug in our database on this but no ETA for a fix yet.
Hi,
thanks for replying. I noticed this has something to do with the resolution of the lightmapping. I lowered settings and the bug does not seem to appear anymore.
Thank you, that is useful info. I have added that to the bug.
I have this error as well still, using Unity 5.1.1 f1. Lowering the settings in the lightmapping didn’t help for me. Also my terrain has chunks of beige while others are rendered properly. Pretty weird. I added a screenshot of how my terrain looks like. The white pieces are how it’s supposed to look, the beige pieces are rendered without the lighting. I’m not using any textures for now and the terrain is using the built in legacy diffuse shader and the fog is turned off.
I’m on 5.2.2f1 and still getting this error. Am I to take it that terrain-based scenes just can’t be lightmapped?
Terrains should work fine and the bug from the 5.1.1. screenshot should be fixed. It is still reproduces, please let us know by filing a bug report and posting the case # here.
Unity 5.3.4f1, still same error.
@pooffick please file a bug report. The bug from the screenshot above is fixed, so you must have run into something different.
Unity 5.3.5p6. See attached log - thanks
Update: I isolated the problem here to a bad InfiniGrass configuration in the scene. Removing it resolved the problem. Not sure of the specific cause.
2742882–197723–Editor_Log.txt (852 KB)
We investigated this a bit more and it seems like the issue is not necessarily related to InfinitiGrass but instead to overlapping terrains. Essentially, when you have two terrains that overlap, Unity starts to complain and it creates the same error output. We’re hoping to provide a fix for that soon.
Thanks. Odd - I didn’t think I had more that one terrain in that scene. Something else going on. Maybe some vestigial intermediate terrain data persisting? Not sure.
If you can provide the project files, then I’m sure we can investigate it more in detail. But right now it’s hard to tell what is exactly going on with the given information.
Any word on how to fix the issue? Looks like it’s happening to me too
Still happening here with only 1 terrain. I removed all the other terrains.
Hey @Acreates ,
Which version of Unity are you using? Can you please share more details about the problem?
Thanks
still happening here with 1 terrain too.
Can you please provide a reproducible project so we can investigate it? You can report the case using BugReporter tool in Unity editor and post the bug ID here.
Thanks
5.3.4f1
precomputed realtime gi at .01
general GI directional, indirect intensity, 1, bounce boost 1
I have
10 terrains
1 is the main
the other 9 are used underwater
Hi,
Unity no longer officially maintains version 5.3. I’d recommend trying 5.5 or a higher version to see if the issue still persists.
Thanks