Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Tiled2Unity Imported Object Script Error #33

Closed
RevinKayner opened this issue Apr 5, 2016 · 4 comments
Closed

Tiled2Unity Imported Object Script Error #33

RevinKayner opened this issue Apr 5, 2016 · 4 comments

Comments

@RevinKayner
Copy link

Hello I seem to have an error in the Imported Object script.
the error reads
"Assets/Tiled2Unity/Scripts/Editor/ImportTiled2Unity.cs(93,32): error CS0234: The type or namespace name ImportBehaviour' does not exist in the namespaceTiled2Unity'. Are you missing an assembly reference?"
the line in question is line 93

name = Tiled2Unity.ImportBehaviour.GetFilenameWithoutTiled2UnityExtension(name);

I am using Unity 5.3.1 I have a friend using the same version and did not receive the error.
I've tried multiple reinstallations but receive the same problem.

Also nothing gets exported into the prefabs folder when I try to import into unity

@Seanba
Copy link
Owner

Seanba commented Apr 5, 2016

Are there any other errors in the console output window?

And by any chance do you have the Unity Web Player selected as your build
target? If so, that's the problem -- but I would hope an error in the
output would have spelled that out for you.

(BTW, Press CTRL+SHIFT+B in Unity to see your build settings)

On Tue, Apr 5, 2016 at 5:52 PM, RevinKayner notifications@github.com
wrote:

Hello I seem to have an error in the Imported Object script.
the error reads
"Assets/Tiled2Unity/Scripts/Editor/ImportTiled2Unity.cs(93,32): error
CS0234: The type or namespace name ImportBehaviour' does not exist in the
namespaceTiled2Unity'. Are you missing an assembly reference?"
the line in question is line 93

name =
Tiled2Unity.ImportBehaviour.GetFilenameWithoutTiled2UnityExtension(name);

I am using Unity 5. I have a friend using the same version and did not
receive the error.
I've tried multiple reinstallations but receive the same problem.


You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub
#33

@RevinKayner
Copy link
Author

Hello. There are no other errors in the output
And yes, the web player was selected for my build target. It appears to be my only option atm.
Also there was no indication pointing towards the Web player being the problem.I am going to have to redownload unity and make sure the pc, mac, linux build setting is marked befor I download. Thanks for your timely response! hopefully this fixes things

@Seanba
Copy link
Owner

Seanba commented Apr 6, 2016

Hi Revin, I've confirmed switching players (PC, Mac & Linux is a good default choice) will fix the issue. Also, I uploaded version 1.0.4.8 of Tiled2Unity just now. It does a better job of warning you when you have the Web Player activated. Thanks.

@Seanba Seanba closed this as completed Apr 6, 2016
@RevinKayner
Copy link
Author

Just wanted to say that everything works fine now, Thank you for all your help!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants