Lawenforcementjoker 9 Posted December 18, 2020 Share Posted December 18, 2020 Hello, After I updated my vehicles.json to allow spike strips I now get this error in the console. SCRIPT ERROR in reference call: System.NullReferenceException: Object reference not set to an insrance of an object. >void luHgxGT56 (@fivepd/FivePD_client.net.dll) >void luHgxGT56 (@fivepd/FivePD_client.net.dll) >void luHgxGT56 (@fivepd/FivePD_client.net.dll) Link to post Share on other sites
0 Solution Lawenforcementjoker 9 Posted December 19, 2020 Author Solution Share Posted December 19, 2020 10 hours ago, TheCipher01 said: Can you screenshot your vehicles.json file and share that here? I am assuming I messed up with the vehicles.json, because I took the one I took the screenshot of out, and I added the standard one that came with fivepd and it worked again. Link to post Share on other sites
0 TheCipher01 126 Posted December 18, 2020 Share Posted December 18, 2020 Do you have any errors in your server console? TheCipher01 Community Team | Administrative Support Link to post Share on other sites
0 Lawenforcementjoker 9 Posted December 18, 2020 Author Share Posted December 18, 2020 9 hours ago, TheCipher01 said: Do you have any errors in your server console? The only errors I have found are the ones I attached the screen shot of. Link to post Share on other sites
0 TheCipher01 126 Posted December 18, 2020 Share Posted December 18, 2020 Do you have any custom callouts? TheCipher01 Community Team | Administrative Support Link to post Share on other sites
0 Lawenforcementjoker 9 Posted December 18, 2020 Author Share Posted December 18, 2020 No, the only call outs are the ones with the new fivepd update. I only just started getting that error after I edited the vehicles.json to allow for spike strips. And I ran it through the json validate website to make sure it was correct and it was. Link to post Share on other sites
0 TheCipher01 126 Posted December 18, 2020 Share Posted December 18, 2020 Can you screenshot your vehicles.json file and share that here? TheCipher01 Community Team | Administrative Support Link to post Share on other sites
0 Lawenforcementjoker 9 Posted December 18, 2020 Author Share Posted December 18, 2020 Link to post Share on other sites
0 TheCipher01 126 Posted December 19, 2020 Share Posted December 19, 2020 I wasn't able to spot any errors in formatting either so it could have been a model name was in there twice or misspelled. Glad to hear you got it working again. TheCipher01 Community Team | Administrative Support Link to post Share on other sites
0 TheCipher01 126 Posted December 19, 2020 Share Posted December 19, 2020 This content has been locked by the Community Team. If you feel this was a mistake, please report this reply with a valid reason. TheCipher01 Community Team | Administrative Support Link to post Share on other sites
Question
Lawenforcementjoker 9
Hello,
After I updated my vehicles.json to allow spike strips I now get this error in the console.
SCRIPT ERROR in reference call: System.NullReferenceException: Object reference not set to an insrance of an object.
>void luHgxGT56 (@fivepd/FivePD_client.net.dll)
>void luHgxGT56 (@fivepd/FivePD_client.net.dll)
>void luHgxGT56 (@fivepd/FivePD_client.net.dll)
Link to post
Share on other sites
9 answers to this question
Recommended Posts