- Home /
Unity3 Terrain.cs assert in editor
Hi,
Just upgraded to unity3. I'm getting an assert during the editor, and the 'scene' view does not work.
The error printed on the console says; f < INT_MIN || f > INT_MAX UnityEditor.DockArea.OnGui()
Then, at the bottom of the console window, it says Assert in file: E:/BuildAgent/Work/68355d6e5d19sd587/Runtime/Export/Generated/Terrain.cs line: 733
What causes this and how can I get rid of it?
Cheers
Also, possibly important to note that this happens if I start a clean project, and in the initial empty scene, I just goto Terrain>Create Terrain. From that point on nothing in the scene view responds and it spams the console with that error.
Answer by Adam B · Sep 29, 2010 at 06:35 PM
Ah, fixed it.
I think this is a bug in the editor. I fixed it by right clicking the 'Scene' tab and clicking 'Close tab'. Then went to Window->Scene and the new scene view worked fine and it stopped outputting any errors.
Weird :P
Answer by Joss · Apr 06, 2011 at 03:33 PM
I met it also. but the error pops up only when I run the game in editor. I solve it by check on the button "Maximize on play" in the Game Tab to make the game run in a single window. It will pop up again when I check off the button. So from now no, I need run my game with the button check on. Aha! God bless you, may it works for you!!!
Answer by divone · Jun 15, 2011 at 03:00 PM
Oh, god ! Thank you ! You just saved my last 10h of work !
Your answer
Follow this Question
Related Questions
A node in a childnode? 1 Answer
Terrain Assets Error!! 1 Answer
Adding custom trees in UnityTerrain. 1 Answer
Can't see underneath terrain. How do I fix this? 1 Answer
Terrain Tree Rotation/Randomization 1 Answer