|
stranger
|
OP
stranger
Joined: Sep 2014
|
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.
|
|
|
|
journeyman
|
journeyman
Joined: Jul 2014
|
have you tried copying your terrain data to the appropriate editor map?
|
|
|
|
stranger
|
OP
stranger
Joined: Sep 2014
|
|
|
|
|
stranger
|
stranger
Joined: Aug 2014
|
I got the same issue. Hope they can fix the problem quick.
|
|
|
|
journeyman
|
journeyman
Joined: Jul 2014
|
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.
|
|
|
|
stranger
|
OP
stranger
Joined: Sep 2014
|
That's a rather...extreme update. Oh well, I guess it's a good thing I wasn't too far into that terrain.
|
|
|
|
journeyman
|
journeyman
Joined: Jul 2014
|
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 ). 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.
|
|
|
|
stranger
|
OP
stranger
Joined: Sep 2014
|
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.
|
|
|
|
stranger
|
stranger
Joined: Aug 2014
|
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: 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.
|
|
|
|
stranger
|
OP
stranger
Joined: Sep 2014
|
Update!
Norbyte is working on a terrain de-optimizer that should repair a broken terrain file by returning it to the previous unoptimized format.
|
|
|
|
journeyman
|
journeyman
Joined: Aug 2014
|
Why isn't this happening to everyone?
|
|
|
|
old hand
|
old hand
Joined: Mar 2014
|
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.
|
|
|
|
stranger
|
stranger
Joined: Sep 2014
|
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.
|
|
|
|
stranger
|
stranger
Joined: Oct 2014
|
Bought the game for on reason; creating some beautiful terrains for other modders to use... Then this!
|
|
|
|
stranger
|
stranger
Joined: Jul 2014
|
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.
|
|
|
|
stranger
|
stranger
Joined: Oct 2014
|
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
|
|
|
|
member
|
member
Joined: Oct 2014
|
Any progress on this issue?
|
|
|
|
stranger
|
stranger
Joined: Nov 2014
|
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.
|
|
|
|
stranger
|
stranger
Joined: Jan 2015
|
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.
|
|
|
|
enthusiast
|
enthusiast
Joined: Oct 2014
|
Just for kicks, post both of your data paths
|
|
|
Moderated by Bvs, ForkTong, gbnf, Issh, Kurnster, Larian_QA, LarSeb, Lar_q, Lynn, Monodon, Raze, Stephen_Larian
|
|