2

I have a Unity project and am building for iPhone.

When the app starts, it is open for about 1 second before it crashes and GetCloudProjectId() is highlighted in the Xcode debug window.

The project uses Unity Services In-App Purchasing so it needs a cloud project id. I can see in the Services settings that is set correctly.

I have tried:

  • Unlinking and linking the project again - using this guide
  • Copied the project settings into an empty unity project - also crashed at GetCloudProjectId()

Is there some configuration I forgot to do?

1 Answer 1

3

In the Info.plist, the UnityCloudProjectID was missing. I added it manually and this fixed it.

Sign up to request clarification or add additional context in comments.

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.