'Errors when build unity proejct for Macos on Windows
When I want to build a macOS version of my Unity project, I get following errors. But When I choose to Build Winows Version, it goes very well. Can someone help with this problem?
Many Thanks.
My version of Unity package is 2020.3.18f1c1 and my computer is Windows
Library\PackageCache\[email protected]\Runtime\UI\Core\Image.cs(873,87): error CS1061: 'Sprite' does not contain a definition for 'isUsingPlaceholder' and no accessible extension method 'isUsingPlaceholder' accepting a first argument of type 'Sprite' could be found (are you missing a using directive or an assembly reference?)
Library\PackageCache\[email protected]\Runtime\UI\Core\Image.cs(1851,38): error CS1061: 'SpriteAtlas' does not contain a definition for 'IsPlaceholder' and no accessible extension method 'IsPlaceholder' accepting a first argument of type 'SpriteAtlas' could be found (are you missing a using directive or an assembly reference?)
Solution 1:[1]
It would work fine after upgrading your unity engine to 2021.3 in your situation
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
Solution | Source |
---|---|
Solution 1 | JAY BENNY |