Wintermute Engine Forum

Wintermute Engine => Bug reports => Topic started by: Azrael on May 10, 2010, 02:46:38 PM

Title: SetTexture make game crash while saving
Post by: Azrael on May 10, 2010, 02:46:38 PM
Hi, we are experiencing some problem in some scenes in which i change the texture of a 3D actor with SetTexture method.

If i save the game from one of these scenes the game crash near the end of the saving, crash.log report:

Quote
-----------------------------------------------------------------
---------- wme 1.9.001 crash report: 10-05-2010, 15:38 ----------
-----------------------------------------------------------------
wme_D3D9.exe caused a EXCEPTION_ACCESS_VIOLATION in module wme_D3D9.exe at 001B:0049CB62
EAX=00000001  EBX=0D2977F0  ECX=00000000  EDX=00000000  ESI=00000000
EDI=04EA9BE8  EBP=00000000  ESP=0012F508  EIP=0049CB62  FLG=00210202
CS=001B   DS=0023  SS=0023  ES=0023   FS=003B  GS=0000
Stack trace:
(null)

I tried removing many things but it seem it depend only by SetTexture, the code is like:
Code: WME Script
  1. car.SetTexture("Car_Taxi", "actors\car\Car_Black.png");

It's strange also because with the previous version of wme we experienced no problem with the same scripts, but now this crash seem to affect also all the scenes that before works.

Thanks for the help, i hope it's comprehensible :P
Title: Re: SetTexture make game crash while saving
Post by: Mnemonic on May 10, 2010, 03:24:32 PM
Please try the latest hotfix (http://dead-code.org/download/wme_hotfix191_2.zip), which, I believe, fixes this problem.
Title: Re: SetTexture make game crash while saving
Post by: Azrael on May 10, 2010, 05:31:01 PM
It worked, thanks a lot ;)