mapbox-unity-sdk icon indicating copy to clipboard operation
mapbox-unity-sdk copied to clipboard

Getting None(Mono Script) issue while creating TerrainFactoryWithSideWalls factory at version 1.3

Open TevfikUfuk opened this issue 8 years ago • 3 comments

At Version 1.3, I tried to build TerrainFactoryWithSideWalls factory but after creating the factory, its script seems to be absent. ekran alintisi

However, when I implement this in my mapbox object it works but after restarting Unity project, terrain factory is missing:
ekran alintisi3

How can be fixed or is this something I make wrong?

TevfikUfuk avatar Dec 28 '17 11:12 TevfikUfuk

After restarting Unity project, I can not even reuse my TerrainFactoryWithSideWalls factory. I compare TerrainFactoryWithSideWalls factory script with other terrain factory's scripts but couldn't determine the issue.

TevfikUfuk avatar Dec 28 '17 11:12 TevfikUfuk

@ufktvfk I believe that's because class name and file name doesn't match for "TerrainWithSideWallsFactory" class. Renaming cs file to "TerrainWithSideWallsFactory" as well should fix this problem. I thought we fixed this for 1.3 actually but I'll recheck. Meanwhile can you try and verify that fixes it please?

brnkhy avatar Dec 28 '17 12:12 brnkhy

@brnkhy Yeah I tried it and it fixed the problem. Thank you:-)

TevfikUfuk avatar Dec 28 '17 14:12 TevfikUfuk