Comments (10)
@TheNormalnij okay, so I've looked into the crash log, and it's here:
https://github.com/gta-reversed/gta-reversed-modern/blob/e3219aeccec725c939c13f27e9ecd338d70e5b8d/source/game_sa/Streaming.cpp#L188
Seems like you aren't calling DeleteRwObject
anywhere (which would remove the entity's streaming link).
from mtasa-blue.
I was only able to reproduce it when I created a lot of buildings at once.
from mtasa-blue.
I see that when the error message about running out of slots appears, the game crashes. Otherwise, not really.
from mtasa-blue.
I was only able to reproduce it when I created a lot of buildings at once.
Same crash with 5 and 2000 buildings.
I've created 5 buildings (cityhall ls), and crashed at chilliad wood house
from mtasa-blue.
@Xenius97 can you provide test resource, please?
I knew about crashes with more than 2000 buildings, but it always works well for me with 5 buildings
from mtasa-blue.
removeWorldModel(3997, 10000, 0, 0, 0)
removeWorldModel(4045, 10000, 0, 0, 0)
createBuilding(3997, 1479.3359375, -1802.2890625, 12.546875, 0, 0, 0)
removeWorldModel(4163, 10000, 0, 0, 0)
removeWorldModel(4164, 10000, 0, 0, 0)
createBuilding(4163, 1469.3359375, -1732.2890625, 12.4609375, 0, 0, 0)
removeWorldModel(4186, 10000, 0, 0, 0)
removeWorldModel(4057, 10000, 0, 0, 0)
createBuilding(4186, 1479.5546875, -1693.140625, 19.578125, 0, 0, 0)
removeWorldModel(3985, 10000, 0, 0, 0)
removeWorldModel(4210, 10000, 0, 0, 0)
createBuilding(3985, 1479.5625, -1631.453125, 12.078125, 0, 0, 0)
removeWorldModel(3978, 10000, 0, 0, 0)
removeWorldModel(4053, 10000, 0, 0, 0)
createBuilding(3978, 1380.265625, -1655.5390625, 10.8046875, 0, 0, 0)
removeWorldModel(4029, 10000, 0, 0, 0)
removeWorldModel(4136, 10000, 0, 0, 0)
createBuilding(4029, 1629.546875, -1756.0859375, 8.09375, 0, 0, 0)
from mtasa-blue.
Tried to reproduce again, but i can't. I don't know what was wrong, maybe not buildings.
from mtasa-blue.
Found the issue.
Create a few buildings in one resource, then restart it a few times and crash.
from mtasa-blue.
I hope #3330 fixes this case too.
from mtasa-blue.
@TheNormalnij You could try clearing the references to the building perhaps. (See CEntity::ResolveReferences
)
from mtasa-blue.
Related Issues (20)
- SVG artifacts HOT 2
- Add compress/decompress functions natively HOT 2
- Development mode isn't shared? HOT 3
- Calling engineFreeModel right after destroying custom content causes crash HOT 1
- Add the possibility to cancel `onPedDamage` event - QOL feature HOT 5
- Invalid issue
- Client-side setElementPosition syncs for server-side vehicles
- RAM Limit HOT 14
- Add more utility to deal with blowVehicle abuse HOT 24
- dxCreateRenderTarget consumes more video memory than it should be HOT 1
- injectBrowserKeyDown injectBrowserKeyUp for YouTube TV
- Crash after engineRestoreModel HOT 2
- dxDrawMaterialLine3D malfunction in the latest MTA:SA versions HOT 8
- `getAccountType` crashes on latest nightly
- vehicle_contact_sync_radius does nothing HOT 3
- onPlayerProjectileCreation does not work properly HOT 9
- Shader is not working propoerly after r22320 HOT 1
- Collision Differences Between onClientPlayerPickupHit and onPlayerPickupHit
- ac #4 6666 HOT 3
- Client freeze after redirectPlayer usage HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from mtasa-blue.