DestroyedClone-UnknownErrorFixes icon

UnknownErrorFixes

Nullchecks ProjectileSteerTowardsTarget component

Last updated 2 weeks ago
Total downloads 200
Total rating 0 
Categories Mods Tweaks
Dependency string DestroyedClone-UnknownErrorFixes-1.0.0
Dependants 0 other mods depend on this mod

This mod requires the following mods to function

bbepis-BepInExPack-5.4.9 icon
bbepis-BepInExPack

Unified BepInEx all-in-one modding pack - plugin framework, detour library

Preferred version: 5.4.9

README

# Unknown Error Fixes

If you've never gotten these errors then there's no point in downloading this mod.

A bunch of errors I have no idea how it could be fixed. Feel free to send me more shit to add nullchecks to.

ProjectileSteerTowardsTarget

[Error : Unity Log] NullReferenceException: Object reference not set to an instance of an object Stack trace: RoR2.Projectile.ProjectileSteerTowardTarget.FixedUpdate () (at <da7c19fa62814b28bdb8f3a9223868e1>:IL_0000)

Probably an error with Annihilator/Echo Elites. Error comes from if (targetComponent.target) on the first line, except it doesn't check if targetComponent exists, which is doesn't, then floods console with the nullref. Which is weird, since the component is supposed to exist on the projectile? Attempting fix by adding a nullcheck for targetComponent.

Available versions

Please note that the install buttons only work if you have compatible client software installed, such as the Thunderstore Mod Manager. Otherwise use the zip download links instead.

Upload date Version number Downloads Download link  
2021-11-17 1.0.0 200 Version 1.0.0 Install