unity-branch-deep-linking-attribution icon indicating copy to clipboard operation
unity-branch-deep-linking-attribution copied to clipboard

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

Open BhaumikSurani opened this issue 7 months ago • 0 comments

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

BhaumikSurani avatar Jun 25 '24 14:06 BhaumikSurani