Skip to content

[W.I.P Build] Occasional NRE from BlightedBodyAttachment.Start #44

@LordVGames

Description

@LordVGames

The set of errors only happened twice in a simulacrum run I was doing with a friend. The 2 times it happened was when a beetle guard spawned and later a beetle spawned. There were other blighted spawns later, but this error didn't happen when they spawned. I was running a lot of mods along with the W.I.P build, so it may have been the result of something like EnemyItemDisplays.

[Error  : Unity Log] NullReferenceException: Object reference not set to an instance of an object
Stack trace:
LostInTransit.Components.BlightedBodyAttachment.Start () (at <2248711bb6c74ba2beb0055144b92e08>:IL_0013)

[Warning: Unity Log] [Server] function 'System.Void RoR2.NetworkedBodyAttachment::AttachToGameObjectAndSpawn(UnityEngine.GameObject,System.String)' called on client
[Error  : Unity Log] NullReferenceException: Object reference not set to an instance of an object
Stack trace:
LostInTransit.Components.BlightedBodyAttachment.Start () (at <2248711bb6c74ba2beb0055144b92e08>:IL_0013)

The NetworkedBodyAttachment warning message happened in between the errors both times they appeared.

EDIT: After playing more with blighteds, it seems these errors aren't limited to beetles + beetle guards. Still not sure what causes it, though.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions