Skip to content

Error in Unity 2019 #1

@davidjahan

Description

@davidjahan

The Unity3D errors on GUILayer component, announcing GUILayer is deprecated .
The Solution: Just change GUILayer in both lines in AnaglyphizerC.cs to Image as the following:

using UnityEngine.UI;
...
// Code Added by esimple adding GUI LAYER to dynamic camera
leftEye.AddComponent<GUILayer>(); --> leftEye.AddComponent<Image>();
rightEye.AddComponent<GUILayer>(); --> rightEye.AddComponent<Image>();
...

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions