Search Unity

  1. Welcome to the Unity Forums! Please take the time to read our Code of Conduct to familiarize yourself with the forum rules and how to post constructively.
  2. Dismiss Notice

Bug URP12.0 FreeCamera Error

Discussion in 'Universal Render Pipeline' started by i_cassell, Jun 29, 2021.

  1. i_cassell

    i_cassell

    Joined:
    Apr 6, 2019
    Posts:
    21
    1. Add "Free Camera" using URP12.0 in Unity 2021.2.0b1.3029 ,run.


    2. NullReferenceException: Object reference not set to an instance of an object

    UnityEngine.Rendering.FreeCamera.RegisterInputs () (at Library/PackageCache/com.unity.render-pipelines.core@12.0.0/Runtime/Camera/FreeCamera.cs:97)

    UnityEngine.Rendering.FreeCamera.OnEnable () (at Library/PackageCache/com.unity.render-pipelines.core@12.0.0/Runtime/Camera/FreeCamera.cs:60)



    3.It Seems don't set value to "fireAction".
     
  2. i_cassell

    i_cassell

    Joined:
    Apr 6, 2019
    Posts:
    21
    update:I am using Input System Package