Buildings created on server side are not destroyed when the resource stops
Closed this issue · 3 comments
Xenius97 commented
Describe the bug
Should be destroyed after resource got stopped.
MTA_.San.Andreas.2025-09-12.16-07-36.mp4
Steps to reproduce
createBuilding()
Version
v1.7-untested-25556
Security Policy
- I have read and understood the Security Policy and this issue is not security related.
Xenius97 commented
Xenius97 commented
Second test destroyed but game instantly crashed (i'm using resource from your PR)
Version = 1.7-untested-25564.0.000
Time = Fri Sep 12 16:18:42 2025
Module = C:\ProgramData\MTA San Andreas All\1.7\GTA San Andreas\gta_sa.exe
Code = 0xC0000005
Offset = 0x00154918
EAX=0000B52A EBX=00000000 ECX=08000081 EDX=00000001 ESI=24048710
EDI=07523740 EBP=FFFDFFFF ESP=0177FBC0 EIP=00554918 FLG=00210202
CS=0023 DS=002B SS=002B ES=002B FS=0053 GS=002B
(0x00154918 is a common crash when using buildings, this crash can happen when simply just start a new resource or restart one which uses buildings)