1

enter image description hereI released game already and now Implementing IAP(in app purchase). I was following Unity official Codeless IAP Tutorial. But when I try to save as csv file, Console shows an Overflow Error and file's not saved... I have no idea what relationship has between Integer overflow and csv file.

Anybody have idea please??

there's console note below OverflowException: Value is greater than Int32.MaxValue or less than Int32.MinValue System.Convert.ToInt32 (Decimal value) (at /Users/builduser/buildslave/mono/build/mcs/class/corlib/System/Convert.cs:1209) UnityEditor.Purchasing.GooglePlayProductCatalogExporter.PackPrice (UnityEngine.Purchasing.ProductCatalogItem product) UnityEditor.Purchasing.GooglePlayProductCatalogExporter.Export (UnityEngine.Purchasing.ProductCatalog catalog) UnityEditor.Purchasing.ProductCatalogEditor+ProductCatalogExportWindow.ExportHelper (IProductCatalogExporter exporter, System.String path) UnityEditor.Purchasing.ProductCatalogEditor+ProductCatalogExportWindow.Export (IProductCatalogExporter exporter) UnityEditor.Purchasing.ProductCatalogEditor+ProductCatalogExportWindow.OnGUI (Rect rect) UnityEditor.PopupWindow.OnGUI () (at C:/buildslave/unity/build/Editor/Mono/GUI/PopupWindow.cs:92) System.Reflection.MonoMethod.Invoke (System.Object obj, BindingFlags invokeAttr, System.Reflection.Binder binder, System.Object[] parameters, System.Globalization.CultureInfo culture) (at /Users/builduser/buildslave/mono/build/mcs/class/corlib/System.Reflection/MonoMethod.cs:222) Rethrow as TargetInvocationException: Exception has been thrown by the target of an invocation. System.Reflection.MonoMethod.Invoke (System.Object obj, BindingFlags invokeAttr, System.Reflection.Binder binder, System.Object[] parameters, System.Globalization.CultureInfo culture) (at /Users/builduser/buildslave/mono/build/mcs/class/corlib/System.Reflection/MonoMethod.cs:232) System.Reflection.MethodBase.Invoke (System.Object obj, System.Object[] parameters) (at /Users/builduser/buildslave/mono/build/mcs/class/corlib/System.Reflection/MethodBase.cs:115) UnityEditor.HostView.Invoke (System.String methodName, System.Object obj) (at C:/buildslave/unity/build/Editor/Mono/HostView.cs:295) UnityEditor.HostView.Invoke (System.String methodName) (at C:/buildslave/unity/build/Editor/Mono/HostView.cs:288) UnityEditor.HostView.OldOnGUI () (at C:/buildslave/unity/build/Editor/Mono/HostView.cs:107) UnityEngine.Experimental.UIElements.IMGUIContainer.DoOnGUI (UnityEngine.Event evt) (at C:/buildslave/unity/build/Runtime/UIElements/Managed/IMGUIContainer.cs:182)

2
  • You should format your post so that it's more readable. Commented Aug 26, 2018 at 22:49
  • Seems like your price value might be wrong. Can you make sure all the values entered in that component are accurate (like the product ID, price etc). And if possible share some screenshots. Commented Aug 28, 2018 at 9:20

1 Answer 1

0

I got this error when I tried to put google pricing template in Google configuration part : "Provide either a price or an ID for a pricing template created in Google Play". I put pricing template by mistake in "Price" field.

enter image description here

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.