vrchat-community / creator-companion

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

[BUG] If we add package using + button, unity version compatibility is not considered #414

Closed Sayamame-beans closed 4 months ago

Sayamame-beans commented 6 months ago

Describe the bug

For example, when we add SDK with + button to Unity2019 project, VCC tries to import 3.5.0 (for Unity2022 latest), and migration dialog is showed up. This also happens for community packages, so it confuses users.

VCC should check the unity version field and choose as new version as possible that is compatible with the project's unity version.

To Reproduce

For easily repro,

  1. Create Unity 2019 project with VCC
  2. Remove World/Avatar SDK Package
  3. Add World/Avatar SDK using + button

Expected behavior

Import SDK 3.4.2 (for Unity2019 latest)

Screenshots

No response

Related Product

VCC (VRChat Creator Companion)

Product Version

2.2.3

OS

Windows 10

Additional context

No response

orels1 commented 4 months ago

Available in VCC 2.2.4