Can't use in-app purchases

  • Hi, I’m trying to add in-app purchases to my game. However, the editor crashes whenever I import the Unity IAP package. The problem seems to be due to one file in the IAP package: Stores.dll . When this file is renamed to Stores.dll.off then the editor doesn’t crash. Of course, I probably can’t use in-app purchases when this file is disabled. This problem doesn’t happen on Windows 7. However, I’d prefer not to switch over to Windows since my workflow is more efficient on Linux.
  • Do you have any ideas about how to solve the problem?
  • I’m using Unity version 2017.3.0.b1 on Ubuntu 16.04. Attached is the editor log from when the crash happens. The last line of the log is “Unity Package Manager (Upm)] - Application terminated due to HTTP connection being closed on the other end.” Which maybe related to the crash, or maybe not.
  • I’m also attaching several screenshots taken after renaming Stores.dll to Stores.dll.off so that the editor would start up.





3291957–254958–Editor-prev.log.txt (327 KB)

I’ve decided to remove in-app purchases from my game for now. Basically, it is adding too much complexity and I want to focus on other aspects of the game. However, if someone knows how to fix the issue feel free to post how to do it. It would help other people and I may eventually get around to adding in-app purchases to my game as well.

Unity backs up previous Editor logs to Editor-prev.log.txt and that looks like what you’ve attached. As such that Editor log is old, i.e. it doesn’t have a crash in it.

Did the Bug Reporter pop when the Editor crashed? If so, could you submit a bug report via that? That’ll collect all the information I need to reproduce this.