question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

DOTween errors when building Player content.

See original GitHub issue

Short 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:

  1. Go to the Addressable window.
  2. 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:closed
  • Created 2 years ago
  • Comments:7 (4 by maintainers)

github_iconTop GitHub Comments

2reactions
ciro-unitycommented, Jul 27, 2021

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.

image

I’m not sure what could be causing that behaviour 🤔

1reaction
ub3132003commented, Oct 17, 2021

just install lv2cpp in unityHub. it’s working in my project.

Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found