DOTween errors when building Player content.
See original GitHub issueShort description
When trying to build player content (in the Addressable window), it fails.
It seems like the DOTween addon has some missing references.
(Error messages are like so : Assets\Addons\DOTween\Modules\DOTweenModuleUI.cs(42,57): error CS0012: The type 'Vector2' is defined in an assembly that is not referenced. You must add a reference to assembly 'UnityEngine, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null'.
)
Expected behavior Trying to build player content (in the Addressable window) works. It is a necessary step to build the game.
To Reproduce Steps to reproduce the behavior:
- Go to the Addressable window.
- Then select Build > Build Player Content.
Notes
- Building the player content is a necessary step to build the game, so I believe it is a critical bug.
- The exact error message is : “Failed to compile player scripts”
Issue Analytics
- State:
- Created 2 years ago
- Comments:7 (4 by maintainers)
Top Results From Across the Web
Demigiant/dotween - Error when building for UWP
Hi, I am using the latest version. And here are the errors when I am trying to build for UWP: Reference rewriter: Error:...
Read more >Support DOTween - DEMIGIANT
A lot of errors will appear but don't worry. Close and reopen Unity (and your project). This is fundamental. Open DOTween's Utility Panel...
Read more >DOTween (HOTween v2), a Unity tween engine | Page 66
Hey, I just downloaded DoTween and it's amazing. One question though...I am following the examples and I keep getting errors saying that my ......
Read more >Unity does not tell me the files that cause the build error. ...
Basically, the problem is that my project contains 2 versions of DOTween, and 2 versions of Lean. This causes the build errors.
Read more >DOTWEEN is the BEST Unity asset in the WORLD and I'll fight ...
DOTween is the very first thing I install upon creating a new project. Animate your position, rotation and scale in a single line...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
So strange… did you try to “clean” the build before building, using the option in the Addressable Groups window? I just did a content build and Unity peacefully built it in 6 minutes or so.
I’m not sure what could be causing that behaviour 🤔
just install lv2cpp in unityHub. it’s working in my project.