# EOS Unity Plugin v5.1.3 - Compiler error when using EOS\_DISABLE 

**URL:** <https://forums.unrealengine.com/t/eos-unity-plugin-v5-1-3-compiler-error-when-using-eos-disable/2858434>\
**Category:** Multiplayer\
**Tags:** epic-online-services, question\
**Created:** [January 16, 2026, 8:57pm UTC](https://forums.unrealengine.com/t/eos-unity-plugin-v5-1-3-compiler-error-when-using-eos-disable/2858434 "2026-01-16T20:57:12Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![anonymous-edc](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous-edc](https://forums.unrealengine.com/u/anonymous-edc)\
**Post date:** [January 16, 2026, 8:57pm UTC](https://forums.unrealengine.com/t/eos-unity-plugin-v5-1-3-compiler-error-when-using-eos-disable/2858434/1 "2026-01-16T20:57:12Z")

</div>

Hello!

I hope I am posting in the correct place. It is a bit confusing having to post here instead of on the github project itself?

I am working on implementing the EOS Unity Plugin into my Unity project in order to be able to support achievements within the Epic Store. Anyway, we only want to actually have Epic support within the specific build we will be submitting to EOS. This means we have to make use of the EOS\_DISABLE to remove a lot of its implementation when compiling for other platforms.

However, whenever this preprocessor is added it results in an error being produced from PluginVersionInterface.cs forcing us to change that file within our local package which needs to be made by each individual who pulls out project down making it quite a hassle. Wrapping the file is a “#if !EOS\_DISABLE” corrects the issue so I believe that is all that would need to be done on your end.

Thanks for any assistance!

---

<div class="post-metadata">

**Author:** ![EOSPlugin\_Jeff](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@EOSPlugin\_Jeff](https://forums.unrealengine.com/u/EOSPlugin_Jeff)\
**Post date:** [January 19, 2026, 3:55pm UTC](https://forums.unrealengine.com/t/eos-unity-plugin-v5-1-3-compiler-error-when-using-eos-disable/2858434/2 "2026-01-19T15:55:23Z")

</div>

Hi Michael,

We have a fix for EOS\_DISABLE not working properly in an upcoming release. You can find the changes that were made here: [https://github.com/EOS-Contrib/eos\_plugin\_for\_unity/pull/1189/files](https://github.com/EOS-Contrib/eos_plugin_for_unity/pull/1189/files)

-Jeff
