Please login or register.

Login with username, password and session length
Advanced search  

News:

Forum rules - please read before posting, it can save you a lot of time.

Author Topic: SetTexture make game crash while saving  (Read 3057 times)

0 Members and 1 Guest are viewing this topic.

Azrael

  • Regular poster
  • ***
  • Karma: 9
  • Offline Offline
  • Gender: Male
  • Posts: 155
    • View Profile
    • Mad Orange
SetTexture make game crash while saving
« 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
Logged

Mnemonic

  • WME developer
  • Administrator
  • Addicted to WME forum
  • *
  • Karma: 41
  • Offline Offline
  • Gender: Male
  • Posts: 5677
    • View Profile
    • Dead:Code Site
Re: SetTexture make game crash while saving
« Reply #1 on: May 10, 2010, 03:24:32 PM »

Please try the latest hotfix, which, I believe, fixes this problem.
Logged
Yes, I do have a twitter account
Please don't send me technical questions in private messages, use the forum. ::wave

Azrael

  • Regular poster
  • ***
  • Karma: 9
  • Offline Offline
  • Gender: Male
  • Posts: 155
    • View Profile
    • Mad Orange
Re: SetTexture make game crash while saving
« Reply #2 on: May 10, 2010, 05:31:01 PM »

It worked, thanks a lot ;)
Logged
 

Page created in 0.369 seconds with 22 queries.