# Unreal Build Tool for Plugin: Different Results Local vs. Marketplcae

**URL:** <https://forums.unrealengine.com/t/unreal-build-tool-for-plugin-different-results-local-vs-marketplcae/488493>\
**Category:** C++\
**Tags:** unreal-build-tool, marketplace-error, unreal-engine, question, CPP\
**Created:** [September 7, 2021, 4:45am UTC](https://forums.unrealengine.com/t/unreal-build-tool-for-plugin-different-results-local-vs-marketplcae/488493 "2021-09-07T04:45:59Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![brwarner](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@brwarner](https://forums.unrealengine.com/u/brwarner)\
**Post date:** [September 7, 2021, 4:45am UTC](https://forums.unrealengine.com/t/unreal-build-tool-for-plugin-different-results-local-vs-marketplcae/488493/1 "2021-09-07T04:45:59Z")

</div>

Hey everyone,

I’m getting different results from a local build of a C++ Plugin using the Unreal Build Tool than on the Marketplace. It seems the Marketplace C++ compiler for Windows is stricter in some way, and I can’t anywhere find the documentation on how to make my local build as strict.

I run

`RunUAT.bat BuildPlugin -Plugin="Path\To\MyPlugin.uplugin" -TargetPlatforms=Win64 -Package="My\Out\Dir" -Rocket -StrictIncludes`

On my local Windows machine. I get no errors. No warnings. Just a complete, successful build.

When submitting to the Marketplace, we get a failure on the Windows build because of an error with an unused return value from a `nodiscard` function (FString::Replace). This was a mistake on our part, so we fixed the line of bug, but I couldn’t understand why that didn’t come up when I built locally. The command line matches what Unreal asks in their [marketplace guidelines](https://www.unrealengine.com/en-US/marketplace-guidelines#263).

Is there some argument I can pass so I can detect these issues before submission?
