Demigiant / dotween

A Unity C# animation engine. HOTween v2
http://dotween.demigiant.com
Other
2.3k stars 346 forks source link

CS0012 error when building webGL on unity 2021.3.8f1 (LTS) #593

Open theKin opened 1 year ago

theKin commented 1 year ago

Hello, We report a problem that occurred while uploading the engine version(2018.3.8 => 2021.3.8) in our project. This problem did not occur in the previous version (2018.3.8).

reproduction:

  1. Create 2D project
  2. Install latest DOTween(download homepage) in Assets/Plugins/Demigiant (or install DOTweenPro with PackageManager)
  3. setup DOTween in DOTween Utility Panel
  4. Go to BuildSettings and switch to WebGL
  5. Run build or cleanBuild

Cap 2022-08-19 16-56-27-525

It didn't happen when building with other platforms (ex : windows). It didn't happen older version (ex : 2020.3.38f1)

dvgco commented 1 year ago

I have the same errors occus when building with pc standlone platform, but Android didn't happen. The DOTween.Moudles always have compile error when building assetbundle or player Unity version:2021.3.11f1 DOTween version:DOTween_1_2_705

dvgco commented 1 year ago

I have the same errors occus when building with pc standlone platform, but Android didn't happen. The DOTween.Moudles always have compile error when building assetbundle or player Unity version:2021.3.11f1 DOTween version:DOTween_1_2_705

After I install the MacOS Installer component for pc, the compile error disappear.