Search Unity

How can i validate now?

Discussion in 'Unity IAP' started by Seraphim-Whiteless, Sep 4, 2020.

  1. Seraphim-Whiteless

    Seraphim-Whiteless

    Joined:
    Jun 23, 2014
    Posts:
    197
    IAP 2.0.0
    Unity3d 2019.4.9

    'GooglePlayTangle' and 'AppleTangle' in reources now?

    How can i access to this files when creating validator?

    validator = new CrossPlatformValidator(GooglePlayTangle.Data(), AppleTangle.Data(), appIdentifier);

    When i open unity, files AppleTangle.cs and GooglePlayTangle.cs moving into Resources
    without any questions or log messages
     
    Last edited: Sep 4, 2020
    Abruzzi likes this.
  2. JeffDUnity3D

    JeffDUnity3D

    Joined:
    May 2, 2017
    Posts:
    14,446
    Are you receiving an error?
     
  3. Seraphim-Whiteless

    Seraphim-Whiteless

    Joined:
    Jun 23, 2014
    Posts:
    197
    files moves to resources.
    And i cannot move back it.
    Because it moves back to resources.
    And i have compilation errors GooglePlayTangle not found
     
  4. JeffDUnity3D

    JeffDUnity3D

    Joined:
    May 2, 2017
    Posts:
    14,446
    I noticed the same thing with 1.23.5. I moved the files to my /Assets/Scripts folder that I created within the Editor, and it found them. I'll do a bit more checking with 2.0, and will let the IAP team know.
     
    Abruzzi likes this.
  5. Abruzzi

    Abruzzi

    Joined:
    Feb 6, 2015
    Posts:
    44
    Have same problem! Unity 2020.1.4f1 & IAP 2.0.0
     
  6. chanon81

    chanon81

    Joined:
    Oct 6, 2015
    Posts:
    168
  7. Abruzzi

    Abruzzi

    Joined:
    Feb 6, 2015
    Posts:
    44
    Yeah :( but it is always moved back to resources folder :(
     
    Last edited: Sep 14, 2020
  8. JeffDUnity3D

    JeffDUnity3D

    Joined:
    May 2, 2017
    Posts:
    14,446
    Can you elaborate? When do they move, during build?
     
  9. Abruzzi

    Abruzzi

    Joined:
    Feb 6, 2015
    Posts:
    44
    It is moving every time when I've changed any of scripts and back to Unity editor or after exit from play mode in editor or relaunch editor.
     
  10. Seraphim-Whiteless

    Seraphim-Whiteless

    Joined:
    Jun 23, 2014
    Posts:
    197
    i found bug-in-bug to resolve it.
    place two copies of files in two folders. (with different meta files)
    And it does not moving any more.

    JeffDUnity3D you should scold your Hindus for bug-in-bug code :)
     
  11. SamOYUnity3D

    SamOYUnity3D

    Unity Technologies

    Joined:
    May 12, 2019
    Posts:
    626
    I saw this problem in IAP 2.0.0 and I will report this problem to them. As a workaround, please duplicate the "generated" folder under the Resources folder and move the new "generated" folder to the "Plugins->UnityPurchasing" directory.
    upload_2020-9-17_17-5-16.png
     
    Abruzzi likes this.
  12. Abruzzi

    Abruzzi

    Joined:
    Feb 6, 2015
    Posts:
    44
    Thanks it helps! :)
     
    SamOYUnity3D likes this.
  13. JeffDUnity3D

    JeffDUnity3D

    Joined:
    May 2, 2017
    Posts:
    14,446
    Sorry I'm not familiar with the term bug-in-bug. You have a work-around for a known issue, thank you. And Hindus? Can you elaborate on that reference?
     
    hippocoder likes this.
  14. SamOYUnity3D

    SamOYUnity3D

    Unity Technologies

    Joined:
    May 12, 2019
    Posts:
    626
    This issue should have been fixed in IAP 2.1.0.