MicrosoftDocs / mixed-reality

Mixed Reality documentation
Creative Commons Attribution 4.0 International
173 stars 181 forks source link

Import errors with Figma Bridge in Unity #734

Open kc01-8 opened 1 year ago

kc01-8 commented 1 year ago

When importing into a 2019.4.31f1 unity project using the VRChat World SDK and Udon SDK with .NET 4.x compatibility I receive the following import errors:

Library\PackageCache\com.microsoft.mixedreality.toolkit.figmabridge@51706d1b8a68-1686700451403\Editor\FigmaToolkitWindow.Document.cs(34,29): error CS1061: 'IStyle' does not contain a definition for 'textOverflow' and no accessible extension method 'textOverflow' accepting a first argument of type 'IStyle' could be found (are you missing a using directive or an assembly reference?) Library\PackageCache\com.microsoft.mixedreality.toolkit.figmabridge@51706d1b8a68-1686700451403\Editor\FigmaToolkitWindow.Document.cs(34,44): error CS0103: The name 'TextOverflow' does not exist in the current context Library\PackageCache\com.microsoft.mixedreality.toolkit.figmabridge@51706d1b8a68-1686700451403\Editor\FigmaToolkitWindow.Files.cs(81,25): error CS1061: 'IStyle' does not contain a definition for 'textOverflow' and no accessible extension method 'textOverflow' accepting a first argument of type 'IStyle' could be found (are you missing a using directive or an assembly reference?) Library\PackageCache\com.microsoft.mixedreality.toolkit.figmabridge@51706d1b8a68-1686700451403\Editor\FigmaToolkitWindow.Files.cs(81,40): error CS0103: The name 'TextOverflow' does not exist in the current context Library\PackageCache\com.microsoft.mixedreality.toolkit.figmabridge@51706d1b8a68-1686700451403\Editor\FigmaToolkitWindow.Files.cs(82,25): error CS1061: 'IStyle' does not contain a definition for 'unityTextOverflowPosition' and no accessible extension method 'unityTextOverflowPosition' accepting a first argument of type 'IStyle' could be found (are you missing a using directive or an assembly reference?) Library\PackageCache\com.microsoft.mixedreality.toolkit.figmabridge@51706d1b8a68-1686700451403\Editor\FigmaToolkitWindow.Files.cs(82,53): error CS0103: The name 'TextOverflowPosition' does not exist in the current context


Document Details

Do not edit this section. It is required for learn.microsoft.com ➟ GitHub issue linking.

kc01-8 commented 1 year ago

This can be replicated by using the VRChat Creator Companion tool to create a blank project with the World SDK and Udon SDK, and importing the MR figma bridge with the MR Feature Tool

kc01-8 commented 1 year ago

Trying a totally empty project except 3D core, textmeshpro and MR figma brige produces the exact same results.

nmanis commented 8 months ago

For this one, can test with Unity 2021 LTS? Unity 2019 is not a supported configuration for the device or feature tool.