Jump to content

need help with fix


Cronosus

Recommended Posts

Hello, i'm trying to fix mod with MI-17 helicopter, but got stuck with this error:

2022-01-31T00:56:26 111.520 WRN [GSM] GameSparks Not Initialized...
NullReferenceException: Object reference not set to an instance of an object
  at World.GetWorldExtent (Vector3i& _minSize, Vector3i& _maxSize) [0x00006] in <2ba1bc1bbbe64fe49f53fe5235fb7038>:0 
  at EntityVehicle.CheckForOutOfWorld () [0x00027] in <2ba1bc1bbbe64fe49f53fe5235fb7038>:0 
  at EntityVehicle.PhysicsFixedUpdate () [0x0032a] in <2ba1bc1bbbe64fe49f53fe5235fb7038>:0 
  at EntityVehicle.FixedUpdate () [0x00000] in <2ba1bc1bbbe64fe49f53fe5235fb7038>:0 

NullReferenceException: Object reference not set to an instance of an object
  at EntityAlive.Update () [0x00134] in <2ba1bc1bbbe64fe49f53fe5235fb7038>:0 
  at EntityVehicle.Update () [0x00000] in <2ba1bc1bbbe64fe49f53fe5235fb7038>:0 

 

can anyone help me with it? i have no idea what the problem. its caused when i try to place helicopter ingane.

thanks in advance

Edited by Cronosus (see edit history)
Link to comment
Share on other sites

5 minutes ago, BFT2020 said:

Something is wrong with the mod, but hard to help without seeing the mod code.  Have you looked at how the other vehicles are coded throughout the xml files?  That might point to where your error is at.

yes i had. i basically checked every line and rewrote almost all, but still didnt find solution for this one

here are xml files

http://cronos.4fan.cz/mi17/

Link to comment
Share on other sites

You have the assets loaded also?  Meaning the actual MI-17 model for the game to render and you interface with?

 

Also, bdubyah has an UH-60 modlet that you can also use to compare to

 

https://gitlab.com/bdubyah/Mods---A20/-/tree/main/UH-60

 

I will look it over as I have time but hopefully someone with a lot more experience than me also takes a peek

Link to comment
Share on other sites

original author publicized even unityasset, but i dont know how to work with it

and ofcourse i have all files, it worked in A19, but in A20 it started to getting errors, some i fixed as i rewrited this mod, only this one error remains

 

so i suspect its problem in model itself :( 

 

 

nvm, ill let original author to fix it

Edited by Cronosus (see edit history)
Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...