Skip to content

VRTK 3.3.0 Artificial Slider "Null Ref Except" error ? #9

@tlskillman

Description

@tlskillman

Does the current version of PlayoVR work with VRTK 3.3.0? I'm getting some strange errors from VRTK Artificial Slider when I add Network Object and Photon Viewer to a slider control gameobject. It seems to cause a call to an artificial slider method that hasn't been initialized right, so missing object reference error:

NullReferenceException: Object reference not set to an instance of an object
VRTK.Controllables.ArtificialBased.VRTK_ArtificialSlider.SetPositionWithNormalizedValue (Single givenTargetPosition, Single speed) (at Assets/Libraries/VRTK/Source/Scripts/Interactions/Interactables/Controllables/Artificial/VRTK_ArtificialSlider.cs:351)
VRTK.Controllables.ArtificialBased.VRTK_ArtificialSlider.SetPositionTarget (Single newPositionTarget, Single speed) (at Assets/Libraries/VRTK/Source/Scripts/Interactions/Interactables/Controllables/Artificial/VRTK_ArtificialSlider.cs:129)
VRTK.Controllables.ArtificialBased.VRTK_ArtificialSlider+c__Iterator0.MoveNext () (at Assets/Libraries/VRTK/Source/Scripts/Interactions/Interactables/Controllables/Artificial/VRTK_ArtificialSlider.cs:277)
UnityEngine.SetupCoroutine.InvokeMoveNext (IEnumerator enumerator, IntPtr returnValueAddress) (at C:/buildslave/unity/build/Runtime/Export/Scripting/Coroutines.cs:17)

image

image

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