Outerra forum

Anteworld - Outerra Game => Tech demo, support, updates => Topic started by: pedropp222 on September 18, 2014, 03:58:15 pm

Title: Engine crashes when editing long road
Post by: pedropp222 on September 18, 2014, 03:58:15 pm
Like the title suggests, i made a rather long road about 40 km long and now when i try to edit some waypoints the engine crashes and it shows this error:
(http://i.imgur.com/G3ZnEmL.png)
I´ve tried to remove a lot of waypoints to make it smaller but it still happens. I´m pretty sure other people have this problem.
While first placing the road and editing the waypoints nothing happens, but when you restart the game and come back to it, it will give you that error and editing the road will be impossible.
Title: Re: Engine crashes when editing long road
Post by: Acetone on September 18, 2014, 04:03:02 pm
Like the title suggests, i made a rather long road about 40 km long and now when i try to edit some waypoints the engine crashes and it shows this error:
(http://i.imgur.com/G3ZnEmL.png)
I´ve tried to remove a lot of waypoints to make it smaller but it still happens. I´m pretty sure other people have this problem.
While first placing the road and editing the waypoints nothing happens, but when you restart the game and come back to it, it will give you that error and editing the road will be impossible.

Yep, happened to me too. That's why I make really long roads with multiple segments now.
Title: Re: Engine crashes when editing long road
Post by: pedropp222 on September 18, 2014, 04:08:04 pm
I had to do the same thing as well. But it is sad to have some old roads that look bad and it is impossible to edit :(
Title: Re: Engine crashes when editing long road
Post by: cameni on September 19, 2014, 12:57:31 am
It's a problem that not all nodes of long roads will be necessarily loaded when you restart, because the road segments far in distance are not yet needed. As a temporary workaround, it should help to quickly over the road from begin to end before attempting to edit it, to force loading all parts of it.
Title: Re: Engine crashes when editing long road
Post by: pedropp222 on September 19, 2014, 06:12:56 am
Thanks a lot, hovering over the road to load everything worked and i was able to edit the road.

Could it be possible to cache the road's waypoints into RAM or a file when we clicked the road, so that we don't have to hover over it everytime?
Title: Re: Engine crashes when editing long road
Post by: cameni on September 19, 2014, 06:38:02 am
Yes it will be fixed, the problem is that it's an asynchronous operation, and editor will have to wait without blocking. It's currently not designed that way.