Hello Guest

Author Topic: Issue with latest version and Flash  (Read 5683 times)

meta87

  • 2D Toolkit
  • Newbie
  • *
  • Posts: 14
    • View Profile
Issue with latest version and Flash
« on: December 06, 2013, 04:05:44 am »
I am having an issue when trying to build to Flash on Unity 4.31 with the lastest tk2d from the asset store.

This is the build error I get:

Code: [Select]
Assets/TK2DROOT/tk2dTileMap/Code/tk2dTileMap.cs(197,17): error CS0103: The name `BuilderUtil' does not exist in the current context

It works fine when building to PC. Thanks for the help!

unikronsoftware

  • Administrator
  • Hero Member
  • *****
  • Posts: 9709
    • View Profile
Re: Issue with latest version and Flash
« Reply #1 on: December 06, 2013, 10:35:06 am »
Hi,

We stopped testing on the Flash platform since Unity announced it was dropping support for it. I can't see it in the list of platforms in 4.3.1 which makes this impossible to work out either. How do you get that to show up in the list of platforms?

You will probably need to #if !UNITY_FLASH out a bunch more code - the flash exporter, as you probably know, was never completed properly and doesn't support many many things in Unity.

meta87

  • 2D Toolkit
  • Newbie
  • *
  • Posts: 14
    • View Profile
Re: Issue with latest version and Flash
« Reply #2 on: December 06, 2013, 05:01:51 pm »
Thanks for the quick reply. I totally understand about dropping Flash support since Unity did. The flash exporter still shows for me in 4.3, I guess because I bought a license for it previously.

Could you tell me the last version that you'd think would be compatible with flash? It looks like you confirmed Flash was working back in March in this thread http://2dtoolkit.com/forum/index.php?topic=256.0 . Version 1.9 maybe?

meta87

  • 2D Toolkit
  • Newbie
  • *
  • Posts: 14
    • View Profile
Re: Issue with latest version and Flash
« Reply #3 on: December 06, 2013, 05:12:32 pm »
To answer my own question, 1.92 final is building with no issues. :)

justaddice

  • 2D Toolkit
  • Newbie
  • *
  • Posts: 9
    • View Profile
Re: Issue with latest version and Flash
« Reply #4 on: April 06, 2014, 04:50:16 pm »
I quite simply absolutely need to be able to export my project to FlashPlayer.

I am using Unity 4.3.0f4 with tk2D v2.3.0.

I understand its 2d  that is causing the problem.

The previous poster (sorry this is an old topic), said 1.92 final works for him.
Where can I get this version?

I don't mind that I will have to re-build any and all 2D toolkit data, etc. I am also prepared to re-build my entire scene in Unity 3.5 if that's what it takes.

Any help would be very much helpful.

Cheers.

unikronsoftware

  • Administrator
  • Hero Member
  • *****
  • Posts: 9709
    • View Profile
Re: Issue with latest version and Flash
« Reply #5 on: April 07, 2014, 06:21:27 pm »
You can download this in the forums here.
http://2dtoolkit.com/forum/index.php/topic,1388.0.html
tk2d 1.92 isn't compatible with Unity 4.3.

Or you can simply try deleting the tile map & tile map demo folders from your project - that should be enough to get it to build.

justaddice

  • 2D Toolkit
  • Newbie
  • *
  • Posts: 9
    • View Profile
Re: Issue with latest version and Flash
« Reply #6 on: April 07, 2014, 06:33:58 pm »
Thank you!

Simply deleting the tilemap folders + demo scenes did it.

You have saved me many hours, I really thought I'd have to rebuild my entire scene for a while there.

Cheers again.