Log in to reply
 

Receiving unhandled exception and null reference exception for peds when loading After Hours SP



  • I am receiving an unhandled exception and null reference exception for peds when loading After Hours SP mod. I am trying to determine where the mod is pulling these files from as I deleted some files to save space - does anyone know if these peds are coming from a previous dlcpack? Or would it be an update.rpf?



  • Can you give us the full error from ScriptHookVDotNet.log?



  • This is from the Scripthookv.net error log:

    [13:59:54] [ERROR] Caught fatal unhandled exception:
    System.NullReferenceException: Object reference not set to an instance of an object.
    at AfterHoursSP.Main.CreateNightclubPeds()
    at AfterHoursSP.Main.EnterNightclub()
    at AfterHoursSP.Main.HandleNightclubEntry()
    at AfterHoursSP.Main.OnTick(Object sender, EventArgs e)
    at SHVDN.Script.MainLoop()
    [13:59:54] [ERROR] The exception was thrown while executing the script AfterHoursSP.Main.
    [13:59:54] [WARNING] Aborted script AfterHoursSP.Main.

    Any feedback would be helpful. Thank you.



  • Bump - so I was able to spawn into the club once I used the Michael/Franklin/Trevor teleport feature, and noticed that only a couple of peds loaded and those were corrupted as well.

    It seems the SP mod is pulling the ped files from a dlcpack that I deleted - does anyone know if there was an earlier dlcpack or patch file that would have had group/club peds that would be used by the mpbattle dlcpack?



  • These are the ped models it spawns:
    a_m_y_clubcust_03
    a_m_y_clubcust_02
    a_m_y_clubcust_01
    a_f_y_clubcust_03
    a_f_y_clubcust_02
    a_f_y_clubcust_01
    ig_sol
    s_f_y_clubbar_01
    s_m_y_clubbar_01
    u_f_y_dancerave_01
    ig_wade ?
    a_m_m_afriamer_01 ?
    ig_tonyprince
    ig_lazlow_2
    s_m_m_bouncer_01 ?

    You'll have to search for these in the game files.



  • much appreciated!


Log in to reply
 

Looks like your connection to GTA5-Mods.com Forums was lost, please wait while we try to reconnect.