Risk of Rain 2
You are viewing a potentially older version of this package. View Latest Version
Install

Details

Date Uploaded
5 years ago
Downloads
5.2K
Size
3.6KB
Dependency string
DestroyedClone-UnknownErrorFixes-1.0.1

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.

Anti Gravity Force

Error probably comes from the rigidbody not being nullchecked. Ideally, it shouldn't be needed since the component has the [Require(typeof(Rigidbody))], so idk what it comes from. idk.

Changelog

1.0.1 - AntiGravityForce

1.0.0 - ProjectileSteerTowardTarget

Thunderstore development is made possible with ads. Please consider making an exception to your adblock.