Hello Guest

Author Topic: Updating old project for Android  (Read 24428 times)

dakeese

  • 2D Toolkit
  • Jr. Member
  • *
  • Posts: 50
    • View Profile
Updating old project for Android
« on: August 03, 2019, 05:43:03 pm »
I'm trying to update an old project for Android that I haven't touched in a few years.

I last built it with Unity 5.0.1 and whatever the latest tk2d was at the time.

It no longer functions on Android. I assume something in Android broke older versions of Unity, and they must have since fixed that. But if I download the latest Unity, update my project, and import the latest tk2d, I have lots of shader errors and many of my sprites look pure black.

Is there an older combo version of tk2d and Unity I can use to update this "easily"?

I never had more than 50 downloads of this free app, but Google has started sending out notices that old apps must be fixed (even if unpublished) or your developer account can be suspended!!!

unikronsoftware

  • Administrator
  • Hero Member
  • *****
  • Posts: 9709
    • View Profile
Re: Updating old project for Android
« Reply #1 on: August 04, 2019, 06:49:38 pm »
You could try updating to a recent version of unity (2017 / 2018.3) and latest tk2d. Please keep backups!

dakeese

  • 2D Toolkit
  • Jr. Member
  • *
  • Posts: 50
    • View Profile
Re: Updating old project for Android
« Reply #2 on: August 07, 2019, 01:47:05 am »
Yes, I'm using version control.

What's the cleanest way to update tk2d? Are there files I should delete from my project, and then install it from the asset store?

unikronsoftware

  • Administrator
  • Hero Member
  • *****
  • Posts: 9709
    • View Profile
Re: Updating old project for Android
« Reply #3 on: August 08, 2019, 04:03:16 pm »
Yes, I'm using version control.

What's the cleanest way to update tk2d? Are there files I should delete from my project, and then install it from the asset store?

No, update unity - then reimport the newest version from this site.

dakeese

  • 2D Toolkit
  • Jr. Member
  • *
  • Posts: 50
    • View Profile
Re: Updating old project for Android
« Reply #4 on: August 09, 2019, 03:26:38 am »
I gets lots of these errors using Unity 2017.4.

Sorry, I haven't touched C# code in about four years, and haven't kept up with Unity. Is there an edit I can use to replace these operators?

https://imgur.com/bE5nBWl
« Last Edit: August 09, 2019, 03:28:16 am by dakeese »

unikronsoftware

  • Administrator
  • Hero Member
  • *****
  • Posts: 9709
    • View Profile
Re: Updating old project for Android
« Reply #5 on: August 09, 2019, 07:11:50 pm »
I gets lots of these errors using Unity 2017.4.

Sorry, I haven't touched C# code in about four years, and haven't kept up with Unity. Is there an edit I can use to replace these operators?

https://imgur.com/bE5nBWl

What platform have you set in unity?

dakeese

  • 2D Toolkit
  • Jr. Member
  • *
  • Posts: 50
    • View Profile
Re: Updating old project for Android
« Reply #6 on: August 12, 2019, 09:50:12 pm »
I'm targeting Android.

unikronsoftware

  • Administrator
  • Hero Member
  • *****
  • Posts: 9709
    • View Profile

dakeese

  • 2D Toolkit
  • Jr. Member
  • *
  • Posts: 50
    • View Profile
Re: Updating old project for Android
« Reply #8 on: August 16, 2019, 02:10:27 am »
Thank you so much for the help! I got it working with that and using Unity 2018.4. Still have some other fixes to do based on general Unity changes in the past few years, but my sprites are displaying.