Forum rules - please read before posting.

nity 6000.2.10f1 + AC 1.85.1: BorderCamera missing UniversalAdditionalCameraData (URP)?

edited November 3 in Technical Q&A

I've encountered a possible compatibility issue after updating to Unity 6000.2.10f1 and Adventure Creator 1.85.1 when using the Universal Render Pipeline (URP).
When the BorderCamera component is created under MainCamera, the runtime-created BorderCamera throws the following error:

Camera BorderCamera does not contain an additional camera data component. Open the Game Object in the inspector to add additional camera data.UnityEngine.GUIUtility:ProcessEvent (int,intptr,bool&)

Comments

  • Below is link of what it looks like in the Scene View and Game View, the rendering has gone totally weird. It was working completely fine using 6000.2.9f1 and the previous version of AC.

    https://1drv.ms/f/c/36B6BB167C89557B/Evn1eheeA2tDge-vUTDr8DcBaN7dQQConIaJ9A4D3IxNig?e=QaQOLM

  • Restored my 6000.2.9f1 project but same issue

  • edited November 3

    I can get sort of around the problem, i.e. getting it to display properly when in run mode, by creating a BorderCamera component, setting the Render Type to Overlay and adding the BorderCamera to the MainCamera stack but still get the following error when the code creates the BorderCamera

    Camera BorderCamera does not contain an additional camera data component. Open the Game Object in the inspector to add additional camera data.
    UnityEngine.GUIUtility:ProcessEvent (int,intptr,bool&)

  • Solved...it was another package causing the conflict/issue/

  • I still get the following error but does not seem to affect the running of the game. The rendering issue was caused by the other Asset package

    Camera BorderCamera does not contain an additional camera data component. Open the Game Object in the inspector to add additional camera data.
    UnityEngine.GUIUtility:ProcessEvent (int,intptr,bool&)

  • Welcome to the community, @mikelancaster.

    Is the Console message a yellow Warning or red Error? I suspect that it's safe to ignore - Unity should automatically add the missing component.

    It might also be that the Border camera is unnecessary, based on your settings. If you open up AC's MainCamera script, look for the following line around line 996 and remove it:

    CreateBorderCamera ();
    

    Does the game's border/aspect ratio still display correctly, with the message gone?

Sign In or Register to comment.

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Welcome to the official forum for Adventure Creator.