User Details
- User Since
- Sep 16 2015, 11:46 PM (479 w, 21 h)
Jul 19 2016
May 10 2016
You actually right. Thank you.
Moderator please close this one.
like this create3DENEntity ["Logic", "Logic", screenToWorld [0.5,0.5]];?
i will try turn autosave off, and run tests, will report soon
Sorry for taking so long.
yes i do confirm this happen without mods. I placed plane, and tank squad, played mission for about 15 times (not restarting, but ending mission and starting preview again), eventually this happened. Mission was cleaned up.
IMPORTANT NOTICE! Mission was never saved to file, i just opened Eden placed some objects and previewed.
ALSO autosave was ON for this test.
i will run same test with auto save off.
Hopefully this help.
P.S.
Tested with autosave OFF, have not happened again, made about 30 tests. Not sure but issue may be related to autosave.
Great news! Thank you!
i do confirm same thing, after preview ends, mission file is re-written, in the way that only class EditorData still there. After that mission is loaded properly (without entities).
Have no idea how to reproduce this bug... yet...
This is not relative to very last build (1.55.133346), i noticed it 1-2 builds erlier.
As of 1.55.133346 (or a bit earlier) command is working fine. Tnx Karel!
Here is one more dump, hopefully this will speed up things.
in this case i tried to load model _ctrl ctrlsetmodel "laserTgt.p3d"
as you can see it have no path to file. only file name.
In the same time loading _ctrl ctrlsetmodel "\A3\Weapons_f\laserTgt.p3d"
is perfectly legal and works fine.
In this specific case this is clearly config error, some one specified not full path but only file name.
it is also confirmed that following will crash A3 100%
_ctrl ctrlsetmodel "";
VehicleConfigs often have many base classes with wrong or empty model info.
By model info I mean (configfile >> "CfgVehicles" >> "my_vehicle_name" >> "model")
And there is no way to detect for sure if it is correct or not.
Finally config may present while model is missing.
Most likely things are much harder inside arma, than i might imagine.
But all is needed is to check if given model exists/loaded, and if it is not
found, load "\A3\Weapons_F\empty.p3d"