Skip to content

Unity version 2020 issues #2

@madjin

Description

@madjin

was having issues opening in unity 2020.3.33f1

Unity_qp6sLGM9If

Unity_hvYS0PJCda
Unity_9ONWAJmWN1
Following this in order to reduce bugs: https://answers.unity.com/questions/1880826/how-to-replace-texture2dreinitialize-with-construc.html

In Unity 2020.3, the Reinitialize() method got replaced with Resize()
change
tex.Reinitialize(newWidth, newHeight);
to like this
tex.Resize(newWidth, newHeight);

now my error looks like this
image

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions