Search Unity

  1. Unity 2019.1 beta is now available.
    Dismiss Notice
  2. The Unity Pro & Visual Studio Professional Bundle gives you the tools you need to develop faster & collaborate more efficiently. Learn more.
    Dismiss Notice
  3. We're looking for insight from anyone who has experience with game testing to help us better Unity. Take our survey here. If chosen to participate you'll be entered into a sweepstake to win an Amazon gift card.
    Dismiss Notice
  4. Want to provide direct feedback to the Unity team? Join the Unity Advisory Panel.
    Dismiss Notice
  5. Unity 2018.3 is now released.
    Dismiss Notice
  6. Improve your Unity skills with a certified instructor in a private, interactive classroom. Watch the overview now.
    Dismiss Notice

Assertion failed and transform.localPosition assign attempt for 'BackgroundPlane' is not valid error

Discussion in 'AR/VR (XR) Discussion' started by HarikrishnanSoman, Dec 6, 2018.

  1. HarikrishnanSoman

    HarikrishnanSoman

    Joined:
    Dec 6, 2018
    Posts:
    1
    Hi guys ,
    I'm developing an AR application in which camera is actually made into a box of a particular width and height, instead of laying it full screen. The application has two screens in which first is for logging in and the second is the one which has the ARcamera(Vuforia). after logging in the second scene would be loaded but while logging out from the second screen first scene would be loaded on top of the second screen.

    I tried using the LoadSceneMode.single but no use, the second scene keeps coming under the first while logging out.

    Im actually very much new to the unity and AR development, So a help would be well appreciated.

    And also having the following errors
    • transform.localPosition assign attempt for 'BackgroundPlane' is not valid. Input localPosition is { NaN, NaN, NaN }.
    • Assertion failed: Assertion failed on expression: 'IsMatrixValid(matrix)'UnityEngine.Camera:set_projectionMatrix(Matrix4x4)Vuforia.MonoCameraConfiguration

    These errors are not present when the Camera is fully layed over the screen, i dont know if the above errors causes the other issue as well. Please help