Search Unity

  1. The Unity Pro & Visual Studio Professional Bundle gives you the tools you need to develop faster & collaborate more efficiently. Learn more.
    Dismiss Notice
  2. Improved Prefab workflow (includes Nested Prefabs!), 2D isometric Tilemap and more! Get the 2018.3 Beta now.
    Dismiss Notice
  3. Want more efficiency in your development work? Sign up to receive weekly tech and creative know-how from Unity experts.
    Dismiss Notice
  4. Participate with students all over the world and build projects to teach people. Join now!
    Dismiss Notice
  5. Build games and experiences that can load instantly and without install. Explore the Project Tiny Preview today!
    Dismiss Notice
  6. Improve your Unity skills with a certified instructor in a private, interactive classroom. Watch the overview now.
    Dismiss Notice
  7. Want to see the most recent patch releases? Take a peek at the patch release page.
    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 at 5:07 PM.

  1. HarikrishnanSoman

    HarikrishnanSoman

    Joined:
    Thursday
    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