vrchat-community / creator-companion

The Entry Point for Making Things in VRChat
https://vrchat.com/home/download
53 stars 357 forks source link

[BUG] VCC allows installing packages requires Unity 2021.3 to Unity 2019 projects #405

Closed anatawa12 closed 4 months ago

anatawa12 commented 6 months ago

Describe the bug

VCC allows installing packages requires Unity 2021.3 to Unity 2019 projects.

Since VPM is convenient package distribution, some Generic Unity tools are also distributed as VPM package. For such a packages, specifying unity field to 2021.3 is very reasonable since Unity 2021.3 is (legacy) LTS

To Reproduce

  1. Create Unity 2019 Project
  2. Add Anatawa12's Test VPM Repository for VCC's bug to your VCC
  3. Add Package Requires Unity 2021.3 to the project
  4. VCC allows installing Package Requires Unity 2021.3 to the project without any warning.

Expected behavior

VCC should

Screenshots

No response

Related Product

VCC (VRChat Creator Companion)

Product Version

2.2.2

OS

Windows 11

Additional context

Related issues

There already is one real-world example of packages requires unity 2021.3. That is TexTransTool v0.5.0-beta by Reina Sakiria. In addition, my AvatarOptimizer is planned to require unity 2021.3 if it's still LTS when I drop Unity 2019.

orels1 commented 4 months ago

Available in VCC 2.2.4