Divinity Banner
Previous Thread
Next Thread
Print Thread
Page 1 of 2 1 2
Terrain Uneditable (Larian please!) #551365
09/09/14 03:27 AM
09/09/14 03:27 AM
Joined: Sep 2014
Posts: 8
K
Kazimir Iskander Offline OP
stranger
Kazimir Iskander  Offline OP
stranger
K

Joined: Sep 2014
Posts: 8
This is a pretty big bug, and I've been investigating it for a week now with no success.

Below is the issue in question.


Painting, height changes, and even adding/removing textures aren't usable while the broken terrain is selected.

Creating a new terrain works fine. Editing the new terrain works fine. Saving the terrain causes the same crash, whether the broken terrain has any edits or not.

Larian, Please advise us on how you worked around this bug during development. I know you don't have time to fix editor bugs right now. Just give us the knowledge we need to work around it.

UPDATE: Norbyte in the IRC is going to great lengths to diagnose this issue. Thanks Norbyte!

UPDATE2: Looks like something was added in a recent-ish update that broke the terrain optimization. It wasn't in the June version.

Last edited by Kazimir Iskander; 09/09/14 05:42 PM.
Re: Terrain Uneditable (Larian please!) [Re: Kazimir Iskander] #551650
09/09/14 10:29 PM
09/09/14 10:29 PM
Joined: Jul 2014
Posts: 95
FromHolland Offline
journeyman
FromHolland  Offline
journeyman

Joined: Jul 2014
Posts: 95
have you tried copying your terrain data to the appropriate editor map?

Re: Terrain Uneditable (Larian please!) [Re: Kazimir Iskander] #551654
09/09/14 11:36 PM
09/09/14 11:36 PM
Joined: Sep 2014
Posts: 8
K
Kazimir Iskander Offline OP
stranger
Kazimir Iskander  Offline OP
stranger
K

Joined: Sep 2014
Posts: 8
What do you mean?

Re: Terrain Uneditable (Larian please!) [Re: Kazimir Iskander] #553478
12/09/14 08:37 AM
12/09/14 08:37 AM
Joined: Aug 2014
Posts: 3
J
Jean B. Le'ChucK Offline
stranger
Jean B. Le'ChucK  Offline
stranger
J

Joined: Aug 2014
Posts: 3
I got the same issue. Hope they can fix the problem quick.

Re: Terrain Uneditable (Larian please!) [Re: Kazimir Iskander] #553480
12/09/14 09:39 AM
12/09/14 09:39 AM
Joined: Jul 2014
Posts: 95
FromHolland Offline
journeyman
FromHolland  Offline
journeyman

Joined: Jul 2014
Posts: 95
I believe the new update deleted my non-optimized terrain data (ie the files in the editor folder). AFAIK when they are deleted you can never edit that terrain again, or at least when I tried I can add new materials but I cannot paint with the old ones anymore and gives me the error that I'm trying to edit optimized terrain.

Re: Terrain Uneditable (Larian please!) [Re: Kazimir Iskander] #553489
12/09/14 11:04 AM
12/09/14 11:04 AM
Joined: Sep 2014
Posts: 8
K
Kazimir Iskander Offline OP
stranger
Kazimir Iskander  Offline OP
stranger
K

Joined: Sep 2014
Posts: 8
That's a rather...extreme update. Oh well, I guess it's a good thing I wasn't too far into that terrain.

Re: Terrain Uneditable (Larian please!) [Re: Kazimir Iskander] #553755
12/09/14 02:55 PM
12/09/14 02:55 PM
Joined: Jul 2014
Posts: 95
FromHolland Offline
journeyman
FromHolland  Offline
journeyman

Joined: Jul 2014
Posts: 95
Originally Posted By: Kazimir Iskander
That's a rather...extreme update. Oh well, I guess it's a good thing I wasn't too far into that terrain.
well a lot of people have this problem, but ofcourse I'm not sure if I deleted that stuff myself (could be smile ). But when you copy your terrain data to the editor folder you still can paint over it (dunno about terrain editing) but not with the "old" materials, only when you apply a new material to the terrain.

Re: Terrain Uneditable (Larian please!) [Re: FromHolland] #553843
13/09/14 12:16 AM
13/09/14 12:16 AM
Joined: Sep 2014
Posts: 8
K
Kazimir Iskander Offline OP
stranger
Kazimir Iskander  Offline OP
stranger
K

Joined: Sep 2014
Posts: 8
Can't add any new materials to the terrain :-/

The terrain is completely locked, and the plugin Norbyte provided to force-unlock it revealed that the map for painting it is a 30x30 square instead of the intended size.

Re: Terrain Uneditable (Larian please!) [Re: Kazimir Iskander] #554114
13/09/14 09:20 AM
13/09/14 09:20 AM
Joined: Aug 2014
Posts: 3
J
Jean B. Le'ChucK Offline
stranger
Jean B. Le'ChucK  Offline
stranger
J

Joined: Aug 2014
Posts: 3
I have reinstalled my complete system. The engine of course too.

Created a new Module, new Level and new Terrain. At first i can do all the manipulations i want.
But after the first reload of the level i am unable to perform any actions on the terrain. No Morphing or adding textures.
If i try saving the level, i get a Memory Access Error:
Click to reveal..

Informationen ?er das Aufrufen von JIT-Debuggen
anstelle dieses Dialogfelds finden Sie am Ende dieser Meldung.

************** Ausnahmetext **************
System.AccessViolationException: Es wurde versucht, im gesch?zten Speicher zu lesen oder zu schreiben. Dies ist h?fig ein Hinweis darauf, dass anderer Speicher besch?igt ist.
bei ls.Terrain.SaveOptimized(Terrain* , Char* )
bei EoCPlugin.MTerrainTemplate.SaveData(String filename)
bei EoCPlugin.MTerrainManager.SaveData(Entity objectToSave, String filename)
bei EoCPlugin.MTerrainManager.DoSave(String filename)
bei LSToolFramework.EntityController.Save(List`1 m_FilesToSave)
bei LSToolFramework.EntityController.SaveModified()
bei LSToolFramework.EntityControllerSaveTask.Execute()
bei LSToolFramework.SaveTask.DoExecute()
bei LSToolFramework.SaveService.PerformSaveTasks()
bei EoCPlugin.EoCPluginClass.SaveAll(Object sender, EventArgs e)
bei System.Windows.Forms.ToolStripItem.RaiseEvent(Object key, EventArgs e)
bei System.Windows.Forms.ToolStripButton.OnClick(EventArgs e)
bei System.Windows.Forms.ToolStripItem.HandleClick(EventArgs e)
bei System.Windows.Forms.ToolStripItem.HandleMouseUp(MouseEventArgs e)
bei System.Windows.Forms.ToolStripItem.FireEventInteractive(EventArgs e, ToolStripItemEventType met)
bei System.Windows.Forms.ToolStripItem.FireEvent(EventArgs e, ToolStripItemEventType met)
bei System.Windows.Forms.ToolStrip.OnMouseUp(MouseEventArgs mea)
bei System.Windows.Forms.Control.WmMouseUp(Message& m, MouseButtons button, Int32 clicks)
bei System.Windows.Forms.Control.WndProc(Message& m)
bei System.Windows.Forms.ScrollableControl.WndProc(Message& m)
bei System.Windows.Forms.ToolStrip.WndProc(Message& m)
bei System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m)
bei System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)
bei System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)


************** Geladene Assemblys **************
mscorlib
Assembly-Version: 2.0.0.0.
Win32-Version: 2.0.50727.6419 (Win8RTMGDR.050727-6400).
CodeBase: file:///C:/Windows/Microsoft.NET/Framework/v2.0.50727/mscorlib.dll.
----------------------------------------
Glasses
Assembly-Version: 1.0.7.0.
Win32-Version: 1, 0, 44, 0.
CodeBase: file:///D:/Steam/steamapps/common/The%20Divinity%20Engine/TheDivinityEngine.exe.
----------------------------------------
msvcm90
Assembly-Version: 9.0.30729.6871.
Win32-Version: 9.00.30729.6871.
CodeBase: file:///C:/Windows/WinSxS/x86_microsoft.vc90.crt_1fc8b3b9a1e18e3b_9.0.30729.6871_none_50944e7cbcb706e5/msvcm90.dll.
----------------------------------------
System.Windows.Forms
Assembly-Version: 2.0.0.0.
Win32-Version: 2.0.50727.6419 (Win8RTMGDR.050727-6400).
CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System.Windows.Forms/2.0.0.0__b77a5c561934e089/System.Windows.Forms.dll.
----------------------------------------
System
Assembly-Version: 2.0.0.0.
Win32-Version: 2.0.50727.6401 (Win8RTMGDR.050727-6400).
CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System/2.0.0.0__b77a5c561934e089/System.dll.
----------------------------------------
System.Drawing
Assembly-Version: 2.0.0.0.
Win32-Version: 2.0.50727.6419 (Win8RTMGDR.050727-6400).
CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System.Drawing/2.0.0.0__b03f5f7f11d50a3a/System.Drawing.dll.
----------------------------------------
WeifenLuo.WinFormsUI.Docking
Assembly-Version: 2.5.0.24441.
Win32-Version: 2.5.0.0.
CodeBase: file:///D:/Steam/steamapps/common/The%20Divinity%20Engine/WeifenLuo.WinFormsUI.Docking.DLL.
----------------------------------------
LSToolFramework
Assembly-Version: 1.0.5350.26123.
Win32-Version: .
CodeBase: file:///D:/Steam/steamapps/common/The%20Divinity%20Engine/LSToolFramework.DLL.
----------------------------------------
EoCPlugin
Assembly-Version: 1.0.5350.26264.
Win32-Version: .
CodeBase: file:///D:/Steam/steamapps/common/The%20Divinity%20Engine/EoCPlugin.DLL.
----------------------------------------
LSFrameworkPlugin
Assembly-Version: 1.0.5350.26139.
Win32-Version: .
CodeBase: file:///D:/Steam/steamapps/common/The%20Divinity%20Engine/LSFrameworkPlugin.DLL.
----------------------------------------
MaterialPlugin
Assembly-Version: 1.0.5350.26145.
Win32-Version: .
CodeBase: file:///D:/Steam/steamapps/common/The%20Divinity%20Engine/MaterialPlugin.DLL.
----------------------------------------
StoryPlugin
Assembly-Version: 1.0.5350.26145.
Win32-Version: .
CodeBase: file:///D:/Steam/steamapps/common/The%20Divinity%20Engine/StoryPlugin.DLL.
----------------------------------------
WindowsBase
Assembly-Version: 3.0.0.0.
Win32-Version: 3.0.6920.6402 built by: Win8RTMGDR.
CodeBase: file:///C:/Windows/assembly/GAC_MSIL/WindowsBase/3.0.0.0__31bf3856ad364e35/WindowsBase.dll.
----------------------------------------
p4api.net
Assembly-Version: 2013.1.59.2857.
Win32-Version: 2013.1.59.2857.
CodeBase: file:///D:/Steam/steamapps/common/The%20Divinity%20Engine/p4api.net.DLL.
----------------------------------------
System.Windows.Forms.resources
Assembly-Version: 2.0.0.0.
Win32-Version: 2.0.50727.6400 (Win8RTMGDR.050727-6400).
CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System.Windows.Forms.resources/2.0.0.0_de_b77a5c561934e089/System.Windows.Forms.resources.dll.
----------------------------------------
SmartPropertyGrid
Assembly-Version: 3.1.0.103.
Win32-Version: 3.1.0.103.
CodeBase: file:///D:/Steam/steamapps/common/The%20Divinity%20Engine/SmartPropertyGrid.DLL.
----------------------------------------
Skybound.VisualTips
Assembly-Version: 1.0.2.0.
Win32-Version: 1.0.2.0.
CodeBase: file:///D:/Steam/steamapps/common/The%20Divinity%20Engine/Skybound.VisualTips.DLL.
----------------------------------------
System.resources
Assembly-Version: 2.0.0.0.
Win32-Version: 2.0.50727.6400 (Win8RTMGDR.050727-6400).
CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System.resources/2.0.0.0_de_b77a5c561934e089/System.resources.dll.
----------------------------------------
System.Xml
Assembly-Version: 2.0.0.0.
Win32-Version: 2.0.50727.6419 (Win8RTMGDR.050727-6400).
CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System.Xml/2.0.0.0__b77a5c561934e089/System.Xml.dll.
----------------------------------------
System.Configuration
Assembly-Version: 2.0.0.0.
Win32-Version: 2.0.50727.6419 (Win8RTMGDR.050727-6400).
CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System.Configuration/2.0.0.0__b03f5f7f11d50a3a/System.Configuration.dll.
----------------------------------------
nqaumrrk
Assembly-Version: 1.0.5350.26123.
Win32-Version: 2.0.50727.6401 (Win8RTMGDR.050727-6400).
CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System/2.0.0.0__b77a5c561934e089/System.dll.
----------------------------------------
System.Design
Assembly-Version: 2.0.0.0.
Win32-Version: 2.0.50727.6419 (Win8RTMGDR.050727-6400).
CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System.Design/2.0.0.0__b03f5f7f11d50a3a/System.Design.dll.
----------------------------------------
lidsb9wm
Assembly-Version: 1.0.5350.26123.
Win32-Version: 2.0.50727.6401 (Win8RTMGDR.050727-6400).
CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System/2.0.0.0__b77a5c561934e089/System.dll.
----------------------------------------
FreeImageNET
Assembly-Version: 3.15.1.0.
Win32-Version: 3.15.1.0.
CodeBase: file:///D:/Steam/steamapps/common/The%20Divinity%20Engine/FreeImageNET.DLL.
----------------------------------------
mscorlib.resources
Assembly-Version: 2.0.0.0.
Win32-Version: 2.0.50727.6419 (Win8RTMGDR.050727-6400).
CodeBase: file:///C:/Windows/Microsoft.NET/Framework/v2.0.50727/mscorlib.dll.
----------------------------------------
ikc_e2lm
Assembly-Version: 1.0.5350.26123.
Win32-Version: 2.0.50727.6401 (Win8RTMGDR.050727-6400).
CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System/2.0.0.0__b77a5c561934e089/System.dll.
----------------------------------------

************** JIT-Debuggen **************
Um das JIT-Debuggen (Just-In-Time) zu aktivieren, muss in der
Konfigurationsdatei der Anwendung oder des Computers
(machine.config) der jitDebugging-Wert im Abschnitt system.windows.forms festgelegt werden.
Die Anwendung muss mit aktiviertem Debuggen kompiliert werden.

Zum Beispiel:

<configuration>
<system.windows.forms jitDebugging="true" />
</configuration>

Wenn das JIT-Debuggen aktiviert ist, werden alle nicht behandelten
Ausnahmen an den JIT-Debugger gesendet, der auf dem
Computer registriert ist, und nicht in diesem Dialogfeld behandelt.


This is really frustrating and i can do nearly to nothing with the engine.

Re: Terrain Uneditable (Larian please!) [Re: Jean B. Le'ChucK] #554291
14/09/14 07:42 AM
14/09/14 07:42 AM
Joined: Sep 2014
Posts: 8
K
Kazimir Iskander Offline OP
stranger
Kazimir Iskander  Offline OP
stranger
K

Joined: Sep 2014
Posts: 8
Update!

Norbyte is working on a terrain de-optimizer that should repair a broken terrain file by returning it to the previous unoptimized format.

Re: Terrain Uneditable (Larian please!) [Re: Kazimir Iskander] #554338
14/09/14 02:00 PM
14/09/14 02:00 PM
Joined: Aug 2014
Posts: 54
M
Mag Offline
journeyman
Mag  Offline
journeyman
M

Joined: Aug 2014
Posts: 54
Why isn't this happening to everyone?

Re: Terrain Uneditable (Larian please!) [Re: Kazimir Iskander] #554950
17/09/14 01:26 PM
17/09/14 01:26 PM
Joined: Mar 2014
Posts: 1,129
Hiver Offline
old hand
Hiver  Offline
old hand

Joined: Mar 2014
Posts: 1,129
Well... no rush with actually creating any terrains, i see. Shame since thats the first step i wanted to do to start building my whole mod.

So,... sit back and relax for another month? Seems good to me.

Re: Terrain Uneditable (Larian please!) [Re: Kazimir Iskander] #555331
21/09/14 06:49 AM
21/09/14 06:49 AM
Joined: Sep 2014
Posts: 2
T
teranosouras Offline
stranger
teranosouras  Offline
stranger
T

Joined: Sep 2014
Posts: 2
I'm having the same problem.

I can create a level, make a terrain, add the terrain brushes and then sculpt/paint up the terrain perfectly fine.
Add objects and everything else fine too.

[b]Until...[/b]

Once i exit out of the editor and go back in and load up my module/level, editing the current terrain is impossible.
The layers/terrain paint (to the right of the selected terrain) can't be interacted with.
The green + button at the bottom is greyed out and can't be used.

I get this debug error too, when i selected the terrain and click the load button above it, if it helps at all:
[spoiler]21-09-2014 06:38:15:304: Error - This path seems to contain the mediapath already, but was created using a ROOT. This shouldnt be.
Path: D:/SteamLibrary/SteamApps/common/Divinity - Original Sin/Data/Mods/Terrain_Bug_Testing_cae71483-e9bf-4f96-9ffb-1213df819482/Levels/Test 1/Terrains/ - ..\..\..\..\..\..\LSFramework\Code\CoreLib\Path.cpp - ls::Path::Analyse - 392[/spoiler]

Selecting one of the broken terrain levels and hitting delete brings up an error box saying [color:#FF6600]"The object is locked by source control!"[/color]

It's possible to add a new terrain and edit that one, but it is underneath the previous one, and as soon as you save and exit, it become broken too.

Last edited by teranosouras; 23/09/14 05:59 AM.
Re: Terrain Uneditable (Larian please!) [Re: Kazimir Iskander] #557261
20/10/14 08:54 PM
20/10/14 08:54 PM
Joined: Oct 2014
Posts: 20
skumleren Offline
stranger
skumleren  Offline
stranger

Joined: Oct 2014
Posts: 20
Bought the game for on reason; creating some beautiful terrains for other modders to use... Then this!

Re: Terrain Uneditable (Larian please!) [Re: Kazimir Iskander] #557284
21/10/14 09:20 AM
21/10/14 09:20 AM
Joined: Jul 2014
Posts: 6
L
LarSeb Offline
stranger
LarSeb  Offline
stranger
L

Joined: Jul 2014
Posts: 6
I'm trying to fix the issue but I can't seem to reproduce this.
Can you tell me the exact steps to reproduce this? Did you export your mod to a .pak file?

Last edited by LarSeb; 21/10/14 09:21 AM.
Re: Terrain Uneditable (Larian please!) [Re: Kazimir Iskander] #557383
22/10/14 10:24 PM
22/10/14 10:24 PM
Joined: Oct 2014
Posts: 20
skumleren Offline
stranger
skumleren  Offline
stranger

Joined: Oct 2014
Posts: 20
Nothing exported, nothing really done. Created terrain, added brushes, painting a few square meters and placing down a player. Saved, reloading, tested.

The sometime shortly afterwards when restarted the editor, or after reloading the map, the terrain becomes locked.

I uploaded one of the maps where it happened (have quite a few if it is needed). As you can see, I did not get far, but what exactly triggers is, whether it is saving, reloading or something else, I do not know, but it is something very basic.

Link to bugged map

Re: Terrain Uneditable (Larian please!) [Re: Kazimir Iskander] #558051
05/11/14 07:55 AM
05/11/14 07:55 AM
Joined: Oct 2014
Posts: 196
Hogwarts
JecklynHyde Offline
member
JecklynHyde  Offline
member

Joined: Oct 2014
Posts: 196
Hogwarts
Any progress on this issue?

Re: Terrain Uneditable (Larian please!) [Re: Kazimir Iskander] #558776
18/11/14 04:43 AM
18/11/14 04:43 AM
Joined: Nov 2014
Posts: 4
J
JustinKro Offline
stranger
JustinKro  Offline
stranger
J

Joined: Nov 2014
Posts: 4
Exact same issue. i actually re installed steam + Divinity + divinity engine lol. And still get the same problem at the very start of this thread. any help , please?

i get this msg

20:44:17 Couldn't save 'Terrain_000'. it is probable not loaded from the editor data...

Last edited by JustinKro; 18/11/14 04:47 AM.
Re: Terrain Uneditable (Larian please!) [Re: Kazimir Iskander] #561441
16/01/15 12:32 AM
16/01/15 12:32 AM
Joined: Jan 2015
Posts: 11
P
preechr Offline
stranger
preechr  Offline
stranger
P

Joined: Jan 2015
Posts: 11
Is there an update on this issue? I seem to be having a similar problem.

My data paths are correct. After having a corruption problem, I reloaded the engine and game to start fresh, copying the mod I have been working on in from a backup. Everything seems to be fine after deleting the corrupted lsb from one level except the terrains are uneditable on all levels. I was going to bite the bullet and recreate them all but after reading this I worry it would just happen again.

Last edited by preechr; 16/01/15 12:41 AM.
Re: Terrain Uneditable (Larian please!) [Re: Kazimir Iskander] #561444
16/01/15 02:08 AM
16/01/15 02:08 AM
Joined: Oct 2014
Posts: 237
B
Burgee Offline
enthusiast
Burgee  Offline
enthusiast
B

Joined: Oct 2014
Posts: 237
Just for kicks, post both of your data paths

Page 1 of 2 1 2

Powered by UBB.threads™ PHP Forum Software 7.6.2