Skip to content

NewRoad NetCollection has null m_prefabs. #19

@DinkyToyz

Description

@DinkyToyz

This mod creates a NetCollection, NewRoad, with a null m_prefabs property which seems causes null reference exceptions in some mods. I believe it may also cause a handled (possibly harmless) null reference exception in game code (in LoadingManager.Update()).

The property is later assigned, but during ILoadingExtension.OnCreated() (at least for mods called after Network Extensions) it's null and findable.

It's probably a good idea to initialize the m_prefabs property before adding the NewRoad object to the game objects.

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