britzl / steamworks-defold

Steamworks support for Defold using the Defold extension system
34 stars 6 forks source link

Crash when running example project from .bat script #20

Open tferreira opened 3 years ago

tferreira commented 3 years ago

Hi,

I'm trying to avoid bundling the project and thus running it from the run_x86_64-win32.bat script, but getting several errors.

I did add the following line as it was giving an error about it:

copy %~dp0\build\x86_64-win32\OpenAL32.dll %~dp0\build\default\OpenAL32.dll

Now I am getting a crash. I'm not sure if it's related, but build/default/builtins/input/default.gamepadsc exists.

INFO:STEAMWORKS: Registered steamworks Extension
ERROR:SOUND: Failed to create OpenAL device
ERROR:SOUND: Failed to Open device 'default'
WARNING:RESOURCE: Resource not found: /builtins/input/default.gamepadsc
ERROR:ENGINE: Unable to load bootstrap data.
INFO:CRASH: Successfully wrote Crashdump to file: C:\Users\Thomas\AppData\Roaming\Defold/_crash
ERROR:CRASH: CALL STACK:

 0 0x7FF639EC2E60 _snscanf_s <unknown>:0
 1 0x7FF63A019F60 LZ4MaxCompressedSize <unknown>:0
 2 0x7FF63A019F60 LZ4MaxCompressedSize <unknown>:0
 3 0x7FF63A019F60 LZ4MaxCompressedSize <unknown>:0
 4 0x7FF9DB7F2060 __chkstk <unknown>:0
 5 0x7FF9DB7A1020 RtlRaiseException <unknown>:0
 6 0x7FF9DB7F0C80 KiUserExceptionDispatcher <unknown>:0
 7 0x7FF639EACE60 vsnprintf <unknown>:0
 8 0x7FF639EF1F20 dmHashReverseErase64 <unknown>:0
 9 0x7FF639EF1F20 dmHashReverseErase64 <unknown>:0
10 0x7FF639EF1F20 dmHashReverseErase64 <unknown>:0
11 0x7FF639E9C6A0 sprintf <unknown>:0
12 0x7FF63A019F60 LZ4MaxCompressedSize <unknown>:0
13 0x7FF9DAD37020 BaseThreadInitThunk <unknown>:0
14 0x7FF9DB7A2630 RtlUserThreadStart <unknown>:0

Are there any steps I have missed to do? Thank you.

britzl commented 3 years ago

Did you build and try to run the project once? For any change you make to your project you need to first build it once, then run it from the .bar/.sh script (this can obviously be automated fully using our command line tools).

tferreira commented 3 years ago

Yes, I've tried building it multiple times. It just displays Launched Local dmengine.exe on the editor bottom bar, without any errors on the console. Then I'm launching the .bat script, giving the above output.

britzl commented 3 years ago

Hmm, @subsoap you're using Windows right? How are you building and running your games?