Skip to content

Tiled2Unity: “Object reference not set to an instance of an object” #175

@baynebrannen2

Description

@baynebrannen2

I keep getting this error every time when trying to export my .tmx file into Unity:

Object reference not set to an instance of an object

This happens when I try to load the file into Tiled2Unity. It does export successfully to Unity, but it’s all messed up. I read on a past issue that it had to do with tile files being changed location. As much as I tried to reconfigure and reload the tilesets I had on my map nothing worked.

So I just started an entirely new map and remade approximately what I had. It still has the same error. I have four layers–a Main layer (with simple house, path, and grass tiles), two object layers (one the door, one the roof), and a collision layer.

Only the Main layer seems corrupted when it imports into Unity.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions