harbingerofme / R2Mods

Harb's mods for Risk of Rain 2
GNU General Public License v3.0
1 stars 4 forks source link

Diluvian - NullReferenceException: Object reference not set to an instance of an object #5

Closed puckzxz closed 4 years ago

puckzxz commented 4 years ago

I'm having this issue whenever I load into a map that has any blood shrines.

It does not happen when a map has no blood shrines.

I am fairly sure the error is happening in this function https://github.com/harbingerofme/R2Mods/blob/master/Diluvian/DiluvianPlugin.cs#L198

Here is the console output Risk_of_Rain_2_q74Kvu9yML

Here is my mod list, you'll need to change the extension back to r2x as GitHub wouldn't allow it modlist.txt

harbingerofme commented 4 years ago

Could you include your LogOutput.log file, it's located in your BepInEx folder. Can you give me some more information: Were you playing singleplayer or multiplayer, and if it's the latter, client or host?

I cannot seem to replicate this issue. image

harbingerofme commented 4 years ago

Regardless I did detect some issues with that method, so I've done some updates to it. 38dd1793e4a960475a798a2c0e2cb153ac5b293b should fix any issue you were having. Update queued for next r2api update.

puckzxz commented 4 years ago

I was playing multiplayer as a client, another client was also experiencing the same issue.

Oddly, the host never had the issue.

Here is my LogOutput LogOutput.log

harbingerofme commented 4 years ago

After testing with a dedicated server running Diluvian, I believe this issue has been resolved with recent changes. If you can't wait for the thunderstore release, you may find a prerelease here https://github.com/harbingerofme/R2Mods/releases/tag/Diluvian-1.0.3