I get this error:
Library\PackageCache\com.unity.connect.share@1.0.5-preview\Editor\ShareWidget.cs(119,151): error CS1503: Argument 4: cannot convert from ‘Unity.UIWidgets.ui.Color’ to ‘Unity.UIWidgets.painting.StrutStyle’
Upon clicking on the message it takes me to this line within the ShareWidget.cs file:
child: new EditableText(_controller, _focusNode, new TextStyle(fontSize: 15f, height: 1.5f, fontWeight: FontWeight.w700), new Color(0xFF424242)))
Anybody know how to fix?
Hi. Without additional information and context it’s a bit difficult to research this deeper, but I’ll look into it. If you are not using the Share WebGL Game feature/package, you can remove it from Package Manager (Window > Package Manager). You can also try updating the package to the latest version, 1.0.6, but I doubt it will help.
Oh, are you using UIWidgets in your project? If yes, you’re probably using a much newer version that is incompatible with Share WebGL Game which is using an older version currently.
Hi. I can confirm that this error is due to UIWidgets incompatibility. We’ll make a new version of Share WebGL Game which fixes this problem.
Hi. This issue should be now fixed if you update the Share WebGL Game to the latest 1.0.7-preview version.