# Unity Build Switch Error

**URL:** <https://qa.fmod.com/t/unity-build-switch-error/21288>\
**Category:** Unity\
**Tags:** switch\
**Created:** [February 27, 2024, 11:21am UTC](https://qa.fmod.com/t/unity-build-switch-error/21288 "2024-02-27T11:21:34Z")\
**Posts on this page:** 12\
**Page:** 1

<div class="post-metadata">

**Author:** ![abjiasteamwork](https://avatars.discourse-cdn.com/v4/letter/a/3be4f8/32.png) [@abjiasteamwork](https://qa.fmod.com/u/abjiasteamwork)\
**Post date:** [February 27, 2024, 11:21am UTC](https://qa.fmod.com/t/unity-build-switch-error/21288/1 "2024-02-27T11:21:34Z")

</div>

I’m getting the following errors in unity trying to create a build.(NS buld)  
‘xx\_VERSION’ does not contain a definition for ‘dll’

FMOD unity 2.02.19  
NS sdk 17.5.3  
unity editor 2022.3.16

```auto
Assets\Plugins\FMOD\src\fmod_studio.cs(384,35): error CS0117: 'STUDIO_VERSION' does not contain a definition for 'dll'

Assets\Plugins\FMOD\src\fmod_studio.cs(1483,35): error CS0117: 'STUDIO_VERSION' does not contain a definition for 'dll'

Assets\Plugins\FMOD\src\fmod_studio.cs(1774,35): error CS0117: 'STUDIO_VERSION' does not contain a definition for 'dll'

Assets\Plugins\FMOD\src\fmod.cs(975,28): error CS0117: 'VERSION' does not contain a definition for 'dll'

Assets\Plugins\FMOD\src\fmod_studio.cs(1485,35): error CS0117: 'STUDIO_VERSION' does not contain a definition for 'dll'

```

---

<div class="post-metadata">

**Author:** ![abjiasteamwork](https://avatars.discourse-cdn.com/v4/letter/a/3be4f8/32.png) [@abjiasteamwork](https://qa.fmod.com/u/abjiasteamwork)\
**Post date:** [February 28, 2024, 6:25am UTC](https://qa.fmod.com/t/unity-build-switch-error/21288/2 "2024-02-28T06:25:58Z")

</div>

I don’t know if there’s anyone with the same problem as me who can help me… thank you

---

<div class="post-metadata">

**Author:** ![Connor\_FMOD](https://yyz2.discourse-cdn.com/flex036/user_avatar/qa.fmod.com/connor_fmod/32/3685_2.png) [@Connor\_FMOD](https://qa.fmod.com/u/Connor_FMOD)\
**Post date:** [February 28, 2024, 10:10pm UTC](https://qa.fmod.com/t/unity-build-switch-error/21288/3 "2024-02-28T22:10:07Z")

</div>

Hi,

Unfortunately, I was not able to reproduce the issue.

Could I get a screenshot of your `Platforms` folder in your Unity project:  
 ![image](https://canada1.discourse-cdn.com/flex036/uploads/fmod/original/2X/b/b93ac087c6b4e7ce72819f3057dd237319b3c146.png)  
And you `About Integration` windows:  
 ![image](https://canada1.discourse-cdn.com/flex036/uploads/fmod/original/2X/4/4e08bbc438855e62c168c9dfa2cd2769fb2b3c64.png)  
 ![image](https://canada1.discourse-cdn.com/flex036/uploads/fmod/original/2X/a/a77bc3c4babf7c8c5e6e7a87ff74c11575d0301a.png)

---

<div class="post-metadata">

**Author:** ![abjiasteamwork](https://avatars.discourse-cdn.com/v4/letter/a/3be4f8/32.png) [@abjiasteamwork](https://qa.fmod.com/u/abjiasteamwork)\
**Post date:** [February 29, 2024, 4:46am UTC](https://qa.fmod.com/t/unity-build-switch-error/21288/4 "2024-02-29T04:46:54Z")

</div>

Thank you very much for your answer

I tried to create a new 2D project for Unity2022.3.16, but without adding FMOD files, I was able to print NS files normally. After adding FMOD, when building, I received an error message indicating this version

This is the Asset file for my new project [Assets\_Fmod.zip - Google Drive](https://drive.google.com/file/d/1XL-C9SuCxInrjHtAdVcipgmUE8nil7Ap/view?usp=drive_link)

 ![fmod_01](https://canada1.discourse-cdn.com/flex036/uploads/fmod/original/2X/b/b0198a8dcbffc36e95fd9c63e25732ac9998867a.jpeg)  
 ![fmod_02](https://canada1.discourse-cdn.com/flex036/uploads/fmod/original/2X/7/7d5a75468043de85f428607e2f7cc150da56c396.jpeg)  
 ![fmod_03](https://canada1.discourse-cdn.com/flex036/uploads/fmod/original/2X/3/31c655f1f64878353d315e036e43c4e552d341d4.jpeg)  
 ![fmod_04](https://canada1.discourse-cdn.com/flex036/uploads/fmod/original/2X/5/565867336aaa5ec5d01d973e3d3fa8bc855b936b.jpeg)

By the way, I also tried the fmod switch version 16.2.6, which still has this issue  
Can you give me a rough idea of the direction of this issue? thank you very much indeed

---

<div class="post-metadata">

**Author:** ![Connor\_FMOD](https://yyz2.discourse-cdn.com/flex036/user_avatar/qa.fmod.com/connor_fmod/32/3685_2.png) [@Connor\_FMOD](https://qa.fmod.com/u/Connor_FMOD)\
**Post date:** [February 29, 2024, 11:45pm UTC](https://qa.fmod.com/t/unity-build-switch-error/21288/5 "2024-02-29T23:45:32Z")

</div>

Hi,

Thank you for the screenshots. Everything looks in order. Could you look through these docs: [Unity Integration | Trouble Shooting Assembly Reference Error](https://fmod.com/docs/2.02/unity/troubleshooting.html#assembly-reference-error) and let me know if it solves the issue?

---

<div class="post-metadata">

**Author:** ![abjiasteamwork](https://avatars.discourse-cdn.com/v4/letter/a/3be4f8/32.png) [@abjiasteamwork](https://qa.fmod.com/u/abjiasteamwork)\
**Post date:** [March 1, 2024, 5:58am UTC](https://qa.fmod.com/t/unity-build-switch-error/21288/6 "2024-03-01T05:58:40Z")

</div>

Thank you for your reply. I have resolved the issue because of my Unity 2022.3.16f1c1 and NS requires a version of 2022.3.16f1

One c1 is missing 😅

If any friends encounter the same problem, I hope they can see that they don’t take the wrong path

---

<div class="post-metadata">

**Author:** ![Connor\_FMOD](https://yyz2.discourse-cdn.com/flex036/user_avatar/qa.fmod.com/connor_fmod/32/3685_2.png) [@Connor\_FMOD](https://qa.fmod.com/u/Connor_FMOD)\
**Post date:** [March 1, 2024, 6:00am UTC](https://qa.fmod.com/t/unity-build-switch-error/21288/7 "2024-03-01T06:00:14Z")

</div>

Good to hear it is solved and thank you for sharing your solution

---

<div class="post-metadata">

**Author:** ![megaleon](https://yyz2.discourse-cdn.com/flex036/user_avatar/qa.fmod.com/megaleon/32/5502_2.png) [@megaleon](https://qa.fmod.com/u/megaleon)\
**Post date:** [February 25, 2026, 11:45am UTC](https://qa.fmod.com/t/unity-build-switch-error/21288/8 "2026-02-25T11:45:14Z")

</div>

Hi I’m having this issue with Nintendo SDK 20.5.28 and Unity 6000.3.7f1 using FMOD 20.2.28

The issue only happens with Switch 2 as a target, any idea of what might be wrong? I tried to follow this an other ticket but they did not lead me to the solution.

```auto
Error CS0117: 'VERSION' does not contain a definition for 'dll'
Error CS0117: 'STUDIO_VERSION' does not contain a definition for 'dll'

```

---

<div class="post-metadata">

**Author:** ![Connor\_FMOD](https://yyz2.discourse-cdn.com/flex036/user_avatar/qa.fmod.com/connor_fmod/32/3685_2.png) [@Connor\_FMOD](https://qa.fmod.com/u/Connor_FMOD)\
**Post date:** [February 26, 2026, 1:55am UTC](https://qa.fmod.com/t/unity-build-switch-error/21288/9 "2026-02-26T01:55:18Z")

</div>

Hi, 2.02.28 does not support Switch 2. It is supported post 2.02.29, would it be possible to test updating the integration and see if the issue persists?

---

<div class="post-metadata">

**Author:** ![megaleon](https://yyz2.discourse-cdn.com/flex036/user_avatar/qa.fmod.com/megaleon/32/5502_2.png) [@megaleon](https://qa.fmod.com/u/megaleon)\
**Post date:** [February 26, 2026, 2:51am UTC](https://qa.fmod.com/t/unity-build-switch-error/21288/10 "2026-02-26T02:51:20Z")

</div>

Yes I can try tu upgrade FMOD 20.2.29 but then I need that version to match Nintendo SDK 20.5.28.

I already did a request in Switch 2 channel.

---

<div class="post-metadata">

**Author:** ![Connor\_FMOD](https://yyz2.discourse-cdn.com/flex036/user_avatar/qa.fmod.com/connor_fmod/32/3685_2.png) [@Connor\_FMOD](https://qa.fmod.com/u/Connor_FMOD)\
**Post date:** [February 27, 2026, 5:17am UTC](https://qa.fmod.com/t/unity-build-switch-error/21288/11 "2026-02-27T05:17:25Z")

</div>

Any luck with the updated SDK integration?

---

<div class="post-metadata">

**Author:** ![megaleon](https://yyz2.discourse-cdn.com/flex036/user_avatar/qa.fmod.com/megaleon/32/5502_2.png) [@megaleon](https://qa.fmod.com/u/megaleon)\
**Post date:** [March 3, 2026, 2:07pm UTC](https://qa.fmod.com/t/unity-build-switch-error/21288/12 "2026-03-03T14:07:20Z")

</div>

@Connor_FMOD I got the matching library but there is an issue

[https://qa.fmod.com/t/request-for-fmod-2-02-29-for-unity-and-sdk-20-5-28/24065/2](https://qa.fmod.com/t/request-for-fmod-2-02-29-for-unity-and-sdk-20-5-28/24065/2)

Cheers,

Leon
