Skip to content

Singleton LineRendererCamera Not Initialised — Unity 2019.3 #4

Open
@HulloImJay

Description

@HulloImJay

Trying this library out as it looks very helpful! But I'm hitting an error when running all the example scenes.

NullReferenceException: Object reference not set to an instance of an object EPPZ.Lines.LineRendererCamera.AddDirectRenderer (EPPZ.Lines.DirectLineRenderer renderer) (at Assets/22. Assets — 3rd Party/Unity.Library.eppz/Unity.Library.eppz.Lines/LineRendererCamera.cs:51) EPPZ.Lines.DirectLineRenderer.Awake () (at Assets/22. Assets — 3rd Party/Unity.Library.eppz/Unity.Library.eppz.Lines/DirectLineRenderer.cs:32)

This seems to be some failure to initialise the singleton?

To get the library working I also added Unity.Library.eppz.Lines and the required define symbol. And I thought the singleton issue might be related to the missing execution order utility, so I also added Unity.Library.eppz.Utils, but this did not correct the above error.

Unity 2019.3.7f1
macOS 10.15.5

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