Jump to content

[Steam] Large Terrain Crash


Recommended Posts

Open Editor

(make sure you have a new project but it may happen with existing projects)

Create Terrain 2048x2048 or 4096x4096

Create camera

Game -> Run

Crashes

 

Doesn't crash with smaller terrains.

 

Output

Executing "C:\Users\x\Documents\Leadwerks\Projects\MyGame\MyGame.exe"...

Initializing Lua...

Executing file "C:/Users/x/Documents/Leadwerks/Projects/MyGame/Scripts/Error.lua"

Executing file "C:/Users/x/Documents/Leadwerks/Projects/MyGame/Scripts/App.lua"

Initializing OpenGL4 graphics driver...

OpenGL version 430

GLSL version 430

Device: GeForce GTX 480/PCIe/SSE2

Loading map "C:/Users/x/Documents/Leadwerks/Projects/MyGame/Maps/temp.map"...

Loading texture "C:/Users/x/Documents/Leadwerks/Projects/MyGame/Materials/Common/bfn.tex..."

Loading shader "C:/Users/x/Documents/Leadwerks/Projects/MyGame/Shaders/Terrain/stamp.shader"...

Loading shader "C:/Users/x/Documents/Leadwerks/Projects/MyGame/Shaders/Terrain/updatenormals.shader"...

Loading shader "C:/Users/x/Documents/Leadwerks/Projects/MyGame/Shaders/Terrain/clear.shader"...

Loading shader "C:/Users/x/Documents/Leadwerks/Projects/MyGame/Shaders/Terrain/clipmap.shader"...

Loading shader "C:/Users/x/Documents/Leadwerks/Projects/MyGame/Shaders/Terrain/terrain.shader"...

Loading shader "C:/Users/x/Documents/Leadwerks/Projects/MyGame/Shaders/Terrain/textured.shader"...

Loading shader "C:/Users/x/Documents/Leadwerks/Projects/MyGame/Shaders/Terrain/solid.shader"...

Loading shader "C:/Users/x/Documents/Leadwerks/Projects/MyGame/Shaders/Terrain/wireframe.shader"...

 

Just tested and also happens if you put a large terrain into the Introduction map... and probably the others.

Link to comment
Share on other sites

Confirmed.

 

It's not actually the terrain but the world size. If you want to recover the map set the world size to 1024.

  • Upvote 1

My job is to make tools you love, with the features you want, and performance you can't live without.

Link to comment
Share on other sites

Guest
This topic is now closed to further replies.
 Share

×
×
  • Create New...