Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

'ToInt32', 'ToSingle', 'ToChar', 'ToDouble' does not exist in 'Convert' namespace #217

Open
BhaumikSurani opened this issue Jun 25, 2024 · 0 comments

Comments

@BhaumikSurani
Copy link

Describe the bug

After importing "BranchUnityWrapper.unitypackage" start getting errors

Screenshot 2024-06-25 at 8 04 39 PM

Assets/Branch/BranchLinkProperties.cs(88,21): error CS0234: The type or namespace name 'ToInt32' does not exist in the namespace 'Convert' (are you missing an assembly reference?)
Assets/Branch/MiniJSON.cs(509,23): error CS0234: The type or namespace name 'ToInt32' does not exist in the namespace 'Convert' (are you missing an assembly reference?)
Assets/Branch/MiniJSON.cs(540,21): error CS0234: The type or namespace name 'ToDouble' does not exist in the namespace 'Convert' (are you missing an assembly reference?)
Assets/Branch/BranchContentMetadata.cs(348,15): error CS0234: The type or namespace name 'ToSingle' does not exist in the namespace 'Convert' (are you missing an assembly reference?)
Assets/Branch/MiniJSON.cs(316,13): error CS0234: The type or namespace name 'ToChar' does not exist in the namespace 'Convert' (are you missing an assembly reference?)

Steps to reproduce

  1. Download "BranchUnityWrapper.unitypackage" from https://github.com/BranchMetrics/unity-branch-deep-linking-attribution/releases/download/2.0.0/BranchUnityWrapper.unitypackage
  2. Double click and install

Expected behavior

Not Display any error in imported files

SDK Version

2.0.0

Unity Version

2022.3.29f1

Make and Model

Unity Editor Simulator Apple iPhone 11

OS

Unity Editor OS

Additional Information/Context

In Player Setting Using ".NET Standard 2.1"
Screenshot 2024-06-25 at 8 11 37 PM

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant