Search Unity

  1. Welcome to the Unity Forums! Please take the time to read our Code of Conduct to familiarize yourself with the forum rules and how to post constructively.
  2. Voting for the Unity Awards are OPEN! We’re looking to celebrate creators across games, industry, film, and many more categories. Cast your vote now for all categories
    Dismiss Notice
  3. Dismiss Notice

[Solved] Problem GameManager IAP?

Discussion in 'Unity IAP' started by nguyenkhoa22, Aug 20, 2018.

Thread Status:
Not open for further replies.
  1. nguyenkhoa22

    nguyenkhoa22

    Joined:
    Jun 21, 2018
    Posts:
    2
    Hello!

    I have a singleton GameManager.cs for my game when i import latest IAP Plugin it have another GameManager.cs too. You guys really do a update without notice this. A lot people use script GameManager.cs for game but it conflict with your new IAP UDP portal. I tried to delete UDP but it thow out some errors. Now I have to reimport but project always throw log note conflict GameManager.cs. How do i fix this?
     
  2. nguyenkhoa22

    nguyenkhoa22

    Joined:
    Jun 21, 2018
    Posts:
    2
    Nevermind, I noticed a sample scene in UDP have GameManager.cs so that it throw conflict log. Don't import sample scene it good now.
     
    SpaceRay likes this.
  3. SpaceRay

    SpaceRay

    Joined:
    Feb 26, 2014
    Posts:
    455
    Thanks really very much for this, I have found the same problem as you when updating to the latest IAP services (23 August 2018) and had this red error telling a conflict of GameManager.cs, and did not know how to solve it, and thanks to you telling that it really is not something needed and essential as it belongs only to a demo scene I could fix it

    For anyone that may have the same problem, in my personal case, I only had to go to the Plugins folder, open the UDP folder and delete the SampleScene folder

    But of course maybe it depends of how your project is built and what scripts and assets you may have and may not be as easy as this probably in your case
     
  4. ap-unity

    ap-unity

    Unity Technologies

    Joined:
    Aug 3, 2016
    Posts:
    1,519
    @nguyenkhoa22, @SpaceRay

    Yeah, those demo scripts can be safely deleted, especially if you are not using UDP.

    We will make sure these scripts will be properly namespaced in a future releases. Sorry for the inconvenience.
     
Thread Status:
Not open for further replies.