Larian Banner: Baldur's Gate Patch 9
Previous Thread
Next Thread
Print Thread
Page 1 of 3 1 2 3
Joined: Jun 2017
Location: Midwest, USA
Azmo Offline OP
apprentice
OP Offline
apprentice
Joined: Jun 2017
Location: Midwest, USA
Glasses has stopped working. Still affected by this. Tried steps outlined on these and Steam message boards. Been trying to get this to work for days now. Please advise.

I had early access, downloaded from steam Tools. When starting, it prompts you to fill in which game data path to use. I have pointed it at 8 different destinations. I have tried it with Projects and Adventures. I cannot get the engine to load. It always generates the error: "glasses"

I tried replying in other threads. Time to try a new post.

Joined: Sep 2017
member
Offline
member
Joined: Sep 2017
Hi Azmo,

Do you have the "Divinity Engine Data" DLC downloaded? You are probably missing some files. Also, the game data path should be set to the "steamapps/common/Divinity Original Sin 2/Data/" folder.

Do you see any warnings or errors in the message log before the editor crashes?

Last edited by Larian_JB; 20/09/17 03:36 PM.
Joined: Jun 2017
Location: Midwest, USA
Azmo Offline OP
apprentice
OP Offline
apprentice
Joined: Jun 2017
Location: Midwest, USA
I have the Engine Data DLC downloaded. The only message it gives when crashing is "glasses". It shows the toolkit, but never fully loads it, freezes and then gives that error message.

Joined: Jun 2017
Location: Midwest, USA
Azmo Offline OP
apprentice
OP Offline
apprentice
Joined: Jun 2017
Location: Midwest, USA
Originally Posted by Larian_JB
Hi Azmo,

Do you have the "Divinity Engine Data" DLC downloaded? You are probably missing some files. Also, the game data path should be set to the "steamapps/common/Divinity Original Sin 2/Data/" folder.

Do you see any warnings or errors in the message log before the editor crashes?


I am going to try all of these steps again. It is possible in all the troubleshooting that I have done over the past 72 hours that something was mangled. I will update this thread after an uninstall/re-install.

Joined: Jun 2017
Location: Midwest, USA
Azmo Offline OP
apprentice
OP Offline
apprentice
Joined: Jun 2017
Location: Midwest, USA
It seems to be working. It crashed once, but after the uninstall and reinstall it is working.

Joined: Jun 2017
Location: Midwest, USA
Azmo Offline OP
apprentice
OP Offline
apprentice
Joined: Jun 2017
Location: Midwest, USA
I take it back. It loads the engine, but then reports errors about not finding all the resources and having critical errors and crashes when I try and load levels.

When it is running, the level is blank, even the Basic one. There is no terrain being rendered.

Let me know if anything else can be tried.

Joined: Jul 2014
enthusiast
Offline
enthusiast
Joined: Jul 2014
When I create a new level by COPY any interior level of the GM levels " Glasses" will stop working and Editor crashes. Outdoor areas seem to work fine though ?? Any idea someone?

Joined: Sep 2017
Location: Belgium, Ghent
addict
Offline
addict
Joined: Sep 2017
Location: Belgium, Ghent
That's a known issue with copy fromexisting levels, mores. We're looking into fixing this smile
http://larian.com/forums/ubbthreads.php?ubb=showflat&Number=613856&gonew=1#UNREAD)

Last edited by Larian_KVN; 21/09/17 09:35 AM.

CTRL+K the elf
Joined: Sep 2017
T
stranger
Offline
stranger
T
Joined: Sep 2017
Just wanted to add that I am also having the "Glasses Error", despite multiple totally fresh reinstalls of the Engine, DLC, and re-checking the filepath. I can select the name and project type, the editor opens to a flat blue render window, and then shortly afterwards it freezes and I get the error popup.

Joined: Sep 2017
G
stranger
Offline
stranger
G
Joined: Sep 2017
Signed up to add this same issue. Downloaded dlc engine data, start divinity engine 2, set file path ./steamapps/common/Divinity Original Sin 2/Data, create new project, then given the freeze with Glasses has stopped working. https://imgur.com/eKiMP45 looks like file data is missing even though I've uninstalled and reinstalled it several times. I also verified the integrity of the data files through steam. I am at a loss for what else to do.

Joined: Sep 2017
G
stranger
Offline
stranger
G
Joined: Sep 2017
Turns out deleting the "Materials.pak" file then re-verifying the integrity of the game files worked for me. I hope this helps someone.

Joined: Sep 2017
T
stranger
Offline
stranger
T
Joined: Sep 2017
Thanks so much greel70 for the tip; I was freezing even earlier in the program (never got those error messages in the log), but deleting the Materials.pak and re-downloading through Verify Local Files managed to fix the problem!

Joined: Sep 2017
Location: Finland
I
stranger
Offline
stranger
I
Joined: Sep 2017
Location: Finland
greel70's tip did not help me out, I still get the Glasses -error window into a crash.

Here's my screenshot of the moment.
https://i.imgur.com/6D0ys3X.jpg

I've tried....
# uninstalling and re-installing the engine
# greel70's tip of removing materials.pak and then redownloading through verifying local files.
# and assigned the path to "steamapps/common/Divinity Original Sin 2/Data/" folder.

Hope this gets fixed, I wanna create a scenes of my own.

Joined: Jun 2017
journeyman
Offline
journeyman
Joined: Jun 2017
Now I'm getting that error too whenever i create a new level based on a copy of a previous one. It worked fine until yesterday.

Joined: Sep 2017
Location: Finland
I
stranger
Offline
stranger
I
Joined: Sep 2017
Location: Finland
For my own tried fixes above, currents efforts are:

I've tried....
# uninstalling and re-installing the engine
# greel70's tip of removing materials.pak and then redownloading through verifying local files.
# and assigned the path to "steamapps/common/Divinity Original Sin 2/Data/" folder.
# tried running the editor without Steam overlay
# tried to run the editor as an admin

Joined: Sep 2017
R
stranger
Offline
stranger
R
Joined: Sep 2017
Try chaning the folder of Divinity original sins 2 to read and write. Could be just a permissions issue. Seems to have worked for me

Joined: Sep 2017
J
stranger
Offline
stranger
J
Joined: Sep 2017
I'm having the same issue where it won't load base.lsb, and there is apparently an issue with windows ten where users can't change the folders from read only to read and write.

I've tried, downloading a program that adds a new registry to take ownership
creating a new user with full permissions to edit folders
creating a copy of the game data folder
copying the contents of the folder into another new folder
running the tool in admin mode

Joined: Sep 2017
J
stranger
Offline
stranger
J
Joined: Sep 2017
[img]https://my.mixtape.moe/yofpbc.png[/img]
here is the portion of the error I can see, at this point the program has crashed because of the failure to load. I can only assume this is because the program is unable to create these files since the files are not present in the divinity public folder.

Joined: Sep 2017
H
stranger
Offline
stranger
H
Joined: Sep 2017
The game path should lead to a drive letter;

I moved my steamapps a long time ago to my "Games" folder, so mine is not going to be yours, unless you did this too. But mine works and my path reads as such,

"C:\Games\Steam\steamapps\common\Divinity Original Sin 2\Data"

Also, when you try to run it in steam, run steam as administrator mode first.

Joined: Sep 2017
J
stranger
Offline
stranger
J
Joined: Sep 2017
ive tried running steam as an administrator

Joined: Sep 2017
F
stranger
Offline
stranger
F
Joined: Sep 2017
The Divinity Engine 2 has been giving me the same problem. I ran "DivinityEngine2.exe" directly from the folder where it is installed. I also verified the local files via Steam. My editor seems to run correctly now and I can load some of the included content. Not sure which one of the 2 solved the problem though.


JR Stofberg
Joined: May 2017
stranger
Offline
stranger
Joined: May 2017
I'm also still getting Glasses error without error messages on screen.

Linked below are logs from Divinity Engine 2 folder. I'd be grateful if someone smarter and/or wiser can deduct what's going on.

DEngine 2 log folder.

Edit: Also here is a visual representation of Divinity 2 related paths on my computer: https://www.dropbox.com/s/6hrle491zc52bc7/paths.jpg?raw=1. The two Divinity game folders seem to share same subfolders...

If paths are searched by going up on the folder tree, having Divinity 2 in different Steam folder than Divinity Engine might be related to the errors I'm getting.


Last edited by Naamapokemen; 26/09/17 08:27 AM.
Joined: Sep 2017
Location: CA, USA
A
stranger
Offline
stranger
A
Joined: Sep 2017
Location: CA, USA
I had this same issue. The engine would crash w/ a message stating mentioning something about Glasses not working.

After some investigation, I noticed the 'Divinity Engine Data' dlc had not completed its install yet. Open the Divinity Original Sin 2 Properties window > DLC tab > Divinity Engine 2 Data 'STATE' column. The state was 'Installing' for me.

After confirming the 'Divinity Engine 2 Data' finished installing, I was able to use the Divinity Engine 2 without anymore crashes from problems with 'Glasses'. I assume the root cause for my case were the missing or locked assets from the DLC while it was downloading.

Hopefully this helps someone. 'Glasses has Stopped Working' is a pretty vague error; there might be multiple causing it...

Joined: May 2017
stranger
Offline
stranger
Joined: May 2017
Originally Posted by Arfurboy
Open the Divinity Original Sin 2 Properties window > DLC tab > Divinity Engine 2 Data 'STATE' column. The state was 'Installing' for me.

After confirming the 'Divinity Engine 2 Data' finished installing, I was able to use the Divinity Engine 2 without anymore crashes from problems with 'Glasses'.


In my case that isn't probably the issue, because state is 'installed'. Thanks for your suggestion, though. Appreciated.

Joined: Sep 2017
C
stranger
Offline
stranger
C
Joined: Sep 2017
So I finally got it to work and the way I fixed it was simple.
Originally steam had been in my program files (x86). Since thats where steam was I set the path to Local Disk (C:) > Program Files (x86) > Steam > steamapps > common > Divinity Original Sin 2 > Data. I tried everything from deleting packs and verifying files and eventually I simply moved steam in its entirety from Program Files (x86) to Program Files and changed the path to Local Disk (C:) > Program Files (x86) > Steam > steamapps > common > Divinity Original Sin 2 > Data. I suggest trying other things as well since i basically did everything before this including a full reinstall so im not sure if one or more things are required.

Joined: Sep 2017
C
stranger
Offline
stranger
C
Joined: Sep 2017
(Edit) when I said I changed my path to Local Disk (C:) > Program Files (x86) > Steam > steamapps > common > Divinity Original Sin 2 > Data, I meant Local Disk (C:) > Program Files > Steam > steamapps > common > Divinity Original Sin 2 > Data, forgot to get rid of the (x86) sorry thats my bad

Joined: Sep 2017
G
stranger
Offline
stranger
G
Joined: Sep 2017
If it helps anyone else having this issue, I managed to fix it by doing the following:

1. In the Steam Library page for Divinity: Original Sin 2. Scroll down to the DLC section and ensure "Divinity Engine 2 Data" is checked and installed.

2. The first time I booted the editor, I picked an incorrect Data Path. It cannot be the root Divinity: Original Sin 2 directory. It must be the Data folder inside. This can be changed after the fact by going to steamapps/common/The Divinity Engine 2/Config.xml and changing the URL inside the <DataPath> tags.


David Nishball
Joined: Sep 2017
Location: UK
apprentice
Offline
apprentice
Joined: Sep 2017
Location: UK
Any news on a fix yet ? I am guessing you need an editor update ?

- Crash on copy from existing levels... .


Joined: Sep 2017
Location: UK
apprentice
Offline
apprentice
Joined: Sep 2017
Location: UK
Looks like it is any level that has the "This Item is overridden from another project" icon (blue spanner) This causes the crash / Glasses has stopped working.

You can copy a level that has the orange "This Item is inherited from a diffrent project"


Joined: Sep 2017
G
stranger
Offline
stranger
G
Joined: Sep 2017
[quote=Grug]If it helps anyone else having this issue, I managed to fix it by doing the following:

1. In the Steam Library page for Divinity: Original Sin 2. Scroll down to the DLC section and ensure "Divinity Engine 2 Data" is checked and installed.

2. The first time I booted the editor, I picked an incorrect Data Path. It cannot be the root Divinity: Original Sin 2 directory. It must be the Data folder inside. This can be changed after the fact by going to steamapps/common/The Divinity Engine 2/Config.xml and changing the URL inside the <DataPath> tags. [/quote]

Editing the Path in the Config File worked for me.
Thanks for that :)


Maximilian Lippold
Joined: May 2017
stranger
Offline
stranger
Joined: May 2017
Thanks Grug and others who helped!
I wrote earlier that I have two Divinity Original Sin 2 folders for some reason. And indeed I had picked the wrong one. Editing the config.xml data path got me started.

Hats off for your help thankyou

Joined: Sep 2017
Location: UK
apprentice
Offline
apprentice
Joined: Sep 2017
Location: UK
Editor is set to the correct "data" directory. Editor works great apart from trying to COPY an existing level. It seems to be the GM mode ones.

XML Config..

<?xml version="1.0" encoding="utf-8"?>
<config xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<RenderShadowProxies>true</RenderShadowProxies>
<AutoReloadAIGrid>false</AutoReloadAIGrid>
<CullRatio>0</CullRatio>
<AssertsEnabled>false</AssertsEnabled>
<OpenMessagePanelOnError>true</OpenMessagePanelOnError>
<MaxCommandHistory>40</MaxCommandHistory>
<MemoryTiming>1</MemoryTiming>
<TextureAtlasIconPath />
<DataPath>D:\Games\steam\steamapps\common\Divinity Original Sin 2\Data\</DataPath>
<DisplayExtraInfo>false</DisplayExtraInfo>
<UseMinimalChecks>true</UseMinimalChecks>
<UseP4>false</UseP4>
<LoadModuleCache>false</LoadModuleCache>
<LoadLevelCache>false</LoadLevelCache>
</config>





Here is the crash data... and it looks like it is an unhandled exception on a path name too long.
I am moving my steam library to a new location (shorter path) to see if it fixes it.
Might explain while some people see it and some dont and it seems to be on certain levels.


Application: DivinityEngine2.exe
Framework Version: v4.0.30319
Description: The process was terminated due to an unhandled exception.
Exception Info: System.IO.PathTooLongException
at System.IO.PathHelper.GetFullPathName()
at System.IO.Path.LegacyNormalizePath(System.String, Boolean, Int32, Boolean)
at System.IO.Path.GetFullPathInternal(System.String)
at LSCSharpCore.Path.set_StringPath(System.String)
at LSFrameworkPlugin.MLightProbe.ReplaceModFolder(LSCSharpCore.Path ByRef, System.String)
at LSFrameworkPlugin.MLightProbe.SetFileNameWithoutNotify(LSCSharpCore.Path)
at LSFrameworkPlugin.MGameObjectController.SetValidGameObjectFileName(LSToolFramework.Entity)
at LSToolFramework.EntityController.AddNewObject(LSToolFramework.Entity, Boolean)
at EoCPlugin.LevelTemplatePlugin.ExplodeLevel(EoCPlugin.MLevelTemplate)
at EoCPlugin.LevelPlugin.OnLevelStarted(System.Object, System.EventArgs)
at LSToolFramework.PluginService.OnLevelStarted(System.Object, System.EventArgs)
at LSToolFramework.ServiceManager.OnLevelStarted(System.Object, System.EventArgs)
at EoCPlugin.EoCPluginClass.raise_LevelStarted(System.Object, System.EventArgs)
at <Module>.EoCPlugin.GameStateListener.OnGameStateChanged(EoCPlugin.GameStateListener*, ecl.GameStateChangedEvent*)
at EoCPlugin.EoCPluginClass.Update(Double, Single)
at LSToolFramework.TickService.Update(System.Object, System.EventArgs)
at System.Windows.Forms.Application+ThreadContext.System.Windows.Forms.UnsafeNativeMethods.IMsoComponent.FDoIdle(Int32)
at System.Windows.Forms.Application+ComponentManager.System.Windows.Forms.UnsafeNativeMethods.IMsoComponentManager.FPushMessageLoop(IntPtr, Int32, Int32)
at System.Windows.Forms.Application+ThreadContext.RunMessageLoopInner(Int32, System.Windows.Forms.ApplicationContext)
at System.Windows.Forms.Application+ThreadContext.RunMessageLoop(Int32, System.Windows.Forms.ApplicationContext)
at <Module>.main(System.String[])

Last edited by Scottworld; 02/10/17 02:11 PM.
Joined: Sep 2017
Location: Belgium, Ghent
addict
Offline
addict
Joined: Sep 2017
Location: Belgium, Ghent
We investigated and are fixing the Copy Existing crash. It will be included in our next editor patch.
(It is indeed as the call stack suggests an issue with the path being longer than the system's allowed maximum for the used IO functions. Mainly happens on GM levels because of their long names.)

Last edited by Larian_KVN; 02/10/17 02:35 PM.

CTRL+K the elf
Joined: Sep 2017
Location: UK
apprentice
Offline
apprentice
Joined: Sep 2017
Location: UK
And it looks like moving the stream library to a path that contains less characters fixes it.

Try moving your steam library from under \program files (x86)\etc etc

REMEMBER to update your config.xml to the new DATA directory location.

It seems once you get a path that is too long in characters it causes the exception and crash.
It may have a lot to do with the format of the GM module naming convention of using a long unique character set... in this case "ModuleName_48678138-d3d8-41db-80f7-a49c254af959"


<attribute id="Module" value="48678138-d3d8-41db-80f7-a49c254af959" type="23" />
<attribute id="Name" value="HellsKeep" type="23" />
<attribute id="Type" value="Add-on" type="23" />
<attribute id="UUID" value="8f641562-e5ca-4a51-ae20-3ee471013f0a" type="23" />


Joined: Sep 2017
Location: UK
apprentice
Offline
apprentice
Joined: Sep 2017
Location: UK
Thanks for that update... hehe

Confimed my suspicions
Glad you have a fix.

Thanks... I shall feel slightly smug now all day. ahhh it is the little things in life.

Joined: Aug 2016
apprentice
Offline
apprentice
Joined: Aug 2016
Sounds like the MAX_PATH limitation (which is around 240-260 characters or so) of Windows versions below Windows 10:

https://msdn.microsoft.com/en-us/library/aa365247(VS.85).aspx

Joined: May 2010
Location: Oxford
Duchess of Gorgombert
Offline
Duchess of Gorgombert
Joined: May 2010
Location: Oxford
I was wondering if this was ever actually resolved. I have all the relevant DLC and the correct data path but after several attempts I've never been able to get the editor working, I always get "glasses has stopped working" when trying to enter the sandbox or any other level. Deleting my test level and creating a new one doesn't work.

It's quite frustrating; although I'm just a tinkerer rather than someone who uploads mods, it would be nice to be able to mod the game but so far it's not happening...


J'aime le fromage.
Joined: May 2017
Location: Australia
M
stranger
Offline
stranger
M
Joined: May 2017
Location: Australia
^^ I'm in the same boat.
If i start with an empty level and try to create a terrain it always crashes when i try to assign mat. resource.
If i use the basic level and edit it - it seems to crash randomly.
Both times = 'Glasses has stopped working'.
I have dlc checked / checked path was right / verified files.
Editing the basic level seems to work as long as you save every 5 mins.
Hopefully a fix soon...

Joined: Dec 2013
old hand
Offline
old hand
Joined: Dec 2013
Originally Posted by vometia
I was wondering if this was ever actually resolved. I have all the relevant DLC and the correct data path but after several attempts I've never been able to get the editor working, I always get "glasses has stopped working" when trying to enter the sandbox or any other level. Deleting my test level and creating a new one doesn't work.

It's quite frustrating; although I'm just a tinkerer rather than someone who uploads mods, it would be nice to be able to mod the game but so far it's not happening...


Are you using the GOG or Steam version?


DOS2 Mods: Happily Emmie After and The Noisy Crypt

Steam Workshop
Nexus Mods
Joined: May 2010
Location: Oxford
Duchess of Gorgombert
Offline
Duchess of Gorgombert
Joined: May 2010
Location: Oxford
Originally Posted by Windemere
Are you using the GOG or Steam version?

I'm using the Steam version. Which was perhaps inadvisable, but I wanted the shiny of the achievements.


J'aime le fromage.
Joined: Dec 2013
old hand
Offline
old hand
Joined: Dec 2013
Originally Posted by vometia
Originally Posted by Windemere
Are you using the GOG or Steam version?

I'm using the Steam version. Which was perhaps inadvisable, but I wanted the shiny of the achievements.


No, I would actually advise anyone who can use Steam to do so, the GOG distribution is a pain and easy to make mistakes with installation.

Have you tried uninstalling everything and starting from scratch? If you were playing the EA version and then tried to update to the release version without a clean uninstall and re-install, I think it increased your chances for some resource issues.


DOS2 Mods: Happily Emmie After and The Noisy Crypt

Steam Workshop
Nexus Mods
Joined: May 2010
Location: Oxford
Duchess of Gorgombert
Offline
Duchess of Gorgombert
Joined: May 2010
Location: Oxford
I haven't tried that: I'll give it a go... hopefully there won't be some random cruft left over that's making it ctd.


J'aime le fromage.
Joined: Apr 2013
S
stranger
Offline
stranger
S
Joined: Apr 2013
I have Glasses.exe crashes too but only when I exit the Editor. It is not as worse as people having them while working but I'm pitching with those who have those crashes too.

Joined: Sep 2017
Location: Belgium, Ghent
addict
Offline
addict
Joined: Sep 2017
Location: Belgium, Ghent
Hey Sashenka,

we are aware of the crash on exit smile It's nothing on your end, just something that gets wrongly removed in code, so don't worry about a faulty installation for that one. You can quickly close the editor with the Force Quit option (ctrl+shift+f4) to avoid the unloading on normal exit.

Sincerely,
Kevin

Last edited by Larian_KVN; 24/10/17 03:49 PM.

CTRL+K the elf
Joined: Apr 2013
S
stranger
Offline
stranger
S
Joined: Apr 2013
Oh nice to know. Thanks Kevin.

Joined: Nov 2017
apprentice
Offline
apprentice
Joined: Nov 2017
For some reason, my Divinity Engine 2 doesn't ask me for a DataPath when I first start it after installation, it goes straight to "Glasses" crashing. I made a Config.xml file with the right DataPath and put it in the Divinity Engine 2 folder, but that didn't change anything.

I've tried re-installing the Engine, verified the integrity of the tool files, made sure the Data was downloaded from the DLC tab, disconnected from Steam syncing, cleared the download cache, and still no luck.


I made a small standalone campaign mod for DOS2, 'Treasure Hunters! https://steamcommunity.com/sharedfiles/filedetails/?id=1594027212
Mostly I make music: https://www.sjatr.com

Fav RPG games: Bard's Tale, Baldur's Gate, Neverwinter Nights, D&D Gold Box, Diablo, Divinity Original Sin.
Joined: May 2018
G
stranger
Offline
stranger
G
Joined: May 2018
I know this is old, but I got same error here. It worked the first time I runned the divinity engine, but next time this happened. Does anyone know how to solve it?

Page 1 of 3 1 2 3

Moderated by  Larian_KVN 

Link Copied to Clipboard
Powered by UBB.threads™ PHP Forum Software 7.7.5