# MarketplaceRules.dll does not exist

**URL:** <https://forums.unrealengine.com/t/marketplacerules-dll-does-not-exist/566285>\
**Category:** Mobile\
**Tags:** unreal-engine, UE5-0, iOS, question\
**Created:** [May 25, 2022, 4:06pm UTC](https://forums.unrealengine.com/t/marketplacerules-dll-does-not-exist/566285 "2022-05-25T16:06:11Z")\
**Posts on this page:** 20\
**Page:** 1

<div class="post-metadata">

**Author:** ![solarisx](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@solarisx](https://forums.unrealengine.com/u/solarisx)\
**Post date:** [May 25, 2022, 4:06pm UTC](https://forums.unrealengine.com/t/marketplacerules-dll-does-not-exist/566285/1 "2022-05-25T16:06:11Z")

</div>

Hi, I try to build the ARHandheld Template for an iOS device. If I build it on a Mac it works. If I build it on Windows with a remote connection to the Mac I get the Error:

> LogPlayLevel: Error: ERROR: Precompiled rules assembly ‘/Users/phil/Library/Application Support/Epic/UnrealEngine/Intermediate/Build/BuildRules/MarketplaceRules.dll’ does not exist.

This file do not exist on the Mac. And I have not found the MarketplaceRules.dll anywhere on Windows.

The Remote-Log prints:

```auto
> ERROR: Precompiled rules assembly '/Users/phil/Library/Application Support/Epic/UnrealEngine/Intermediate/Build/BuildRules/MarketplaceRules.dll' does not exist.
> BuildException: Precompiled rules assembly '/Users/phil/Library/Application Support/Epic/UnrealEngine/Intermediate/Build/BuildRules/MarketplaceRules.dll' does not exist.
> at UnrealBuildTool.DynamicCompilation.CompileAndLoadAssembly(FileReference OutputAssemblyPath, HashSet`1 SourceFileNames, List`1 ReferencedAssembies, List`1 PreprocessorDefines, Boolean DoNotCompile, Boolean ForceCompile, Boolean TreatWarningsAsErrors)
> at UnrealBuildTool.RulesAssembly..ctor(RulesScope Scope, List`1 BaseDirs, IReadOnlyList`1 Plugins, Dictionary`2 ModuleFileToContext, List`1 TargetFiles, FileReference AssemblyFileName, Boolean bContainsEngineModules, Nullable`1 DefaultBuildSettings, Boolean bReadOnly, Boolean bSkipCompile, Boolean bForceCompile, RulesAssembly Parent)
> at UnrealBuildTool.RulesCompiler.CreateMarketplaceRulesAssembly(IReadOnlyList`1 Plugins, Boolean bSkipCompile, Boolean bForceCompile, RulesAssembly Parent)
> at UnrealBuildTool.RulesCompiler.CreateEngineRulesAssembly(Boolean bUsePrecompiled, Boolean bSkipCompile, Boolean bForceCompile)
> at UnrealBuildTool.RulesCompiler.CreateProjectRulesAssembly(FileReference ProjectFileName, Boolean bUsePrecompiled, Boolean bSkipCompile, Boolean bForceCompile)
> at UnrealBuildTool.RulesCompiler.CreateTargetRulesAssembly(FileReference ProjectFile, String TargetName, Boolean bSkipRulesCompile, Boolean bForceRulesCompile, Boolean bUsePrecompiled, FileReference ForeignPlugin)
> at UnrealBuildTool.UEBuildTarget.Create(TargetDescriptor Descriptor, Boolean bSkipRulesCompile, Boolean bForceRulesCompile, Boolean bUsePrecompiled)
> at UnrealBuildTool.BuildMode.CreateMakefile(BuildConfiguration BuildConfiguration, TargetDescriptor TargetDescriptor, ISourceFileWorkingSet WorkingSet)
> at UnrealBuildTool.BuildMode.Build(List`1 TargetDescriptors, BuildConfiguration BuildConfiguration, ISourceFileWorkingSet WorkingSet, BuildOptions Options, FileReference WriteOutdatedActionsFile, Boolean bSkipPreBuildTargets)
> at UnrealBuildTool.BuildMode.Execute(CommandLineArguments Arguments)
> at UnrealBuildTool.UnrealBuildTool.Main(String[] ArgumentsArray)
> WriteFileIfChanged() wrote 0 changed files of 0 requested writes.

```

The error is thrown by the UnrealBuildTool → RulesCompiler.cs

I have no idea where to look further. Any help is welcome.  
Greetings

---

<div class="post-metadata">

**Author:** ![solarisx](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@solarisx](https://forums.unrealengine.com/u/solarisx)\
**Post date:** [May 28, 2022, 6:49pm UTC](https://forums.unrealengine.com/t/marketplacerules-dll-does-not-exist/566285/3 "2022-05-28T18:49:52Z")

</div>

Is there anyone who can confirm that remote building from Windows to Mac for an IPad works with UE5? I have no problems with UE4.27 doing that, but still if I upgrade a working and remote building project to UE5 I get this error.

---

<div class="post-metadata">

**Author:** ![david.gillespie](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@david.gillespie](https://forums.unrealengine.com/u/david.gillespie)\
**Post date:** [May 29, 2022, 6:16am UTC](https://forums.unrealengine.com/t/marketplacerules-dll-does-not-exist/566285/4 "2022-05-29T06:16:13Z")

</div>

You can copy marketplace rules.dll from your pc your remote Mac then run remote build and it works.

My understanding is that this has been fixed in 5.0.2 but yet to test.

---

<div class="post-metadata">

**Author:** ![ParNishka18](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@ParNishka18](https://forums.unrealengine.com/u/ParNishka18)\
**Post date:** [May 29, 2022, 9:10am UTC](https://forums.unrealengine.com/t/marketplacerules-dll-does-not-exist/566285/5 "2022-05-29T09:10:09Z")

</div>

Where can I get marketplacerules.dll? It’s just that I don’t have it in the ue5 and ue4 folders

---

<div class="post-metadata">

**Author:** ![david.gillespie](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@david.gillespie](https://forums.unrealengine.com/u/david.gillespie)\
**Post date:** [May 29, 2022, 4:48pm UTC](https://forums.unrealengine.com/t/marketplacerules-dll-does-not-exist/566285/6 "2022-05-29T16:48:14Z")

</div>

I think it’s in one of your %AppData% folders. You should be able to search for the file then copy it to where the log is reporting it’s looking for the file

---

<div class="post-metadata">

**Author:** ![david.gillespie](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@david.gillespie](https://forums.unrealengine.com/u/david.gillespie)\
**Post date:** [May 31, 2022, 10:00am UTC](https://forums.unrealengine.com/t/marketplacerules-dll-does-not-exist/566285/7 "2022-05-31T10:00:37Z")

</div>

I’ve managed to build successfully in 5.0.2 without encountering this bug so looks like it’s fixed

---

<div class="post-metadata">

**Author:** ![ShreddinPB](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@ShreddinPB](https://forums.unrealengine.com/u/ShreddinPB)\
**Post date:** [July 3, 2022, 10:32pm UTC](https://forums.unrealengine.com/t/marketplacerules-dll-does-not-exist/566285/8 "2022-07-03T22:32:27Z")

</div>

Just ran into this on 5.02, so it doesnt appear to be fixed.

---

<div class="post-metadata">

**Author:** ![ROOOOOOOOU](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@ROOOOOOOOU](https://forums.unrealengine.com/u/ROOOOOOOOU)\
**Post date:** [July 5, 2022, 5:23am UTC](https://forums.unrealengine.com/t/marketplacerules-dll-does-not-exist/566285/9 "2022-07-05T05:23:30Z")

</div>

I have the same problem 🥲

---

<div class="post-metadata">

**Author:** ![ROOOOOOOOU](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@ROOOOOOOOU](https://forums.unrealengine.com/u/ROOOOOOOOU)\
**Post date:** [July 5, 2022, 7:51am UTC](https://forums.unrealengine.com/t/marketplacerules-dll-does-not-exist/566285/10 "2022-07-05T07:51:18Z")

</div>

I succeeded and I found it was the problem programe.

---

<div class="post-metadata">

**Author:** ![ecophobic](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/ecophobic/32/555678_2.png) [@ecophobic](https://forums.unrealengine.com/u/ecophobic)\
**Post date:** [July 25, 2022, 3:11pm UTC](https://forums.unrealengine.com/t/marketplacerules-dll-does-not-exist/566285/11 "2022-07-25T15:11:21Z")

</div>

??? instructions unclear. same issue. 5.0.2

got the marketplacerules.dll file from windows, created correct directory in Mac, same error.

bummed ☹

---

<div class="post-metadata">

**Author:** ![ecophobic](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/ecophobic/32/555678_2.png) [@ecophobic](https://forums.unrealengine.com/u/ecophobic)\
**Post date:** [July 25, 2022, 3:13pm UTC](https://forums.unrealengine.com/t/marketplacerules-dll-does-not-exist/566285/12 "2022-07-25T15:13:08Z")

</div>

same issue, got the file from windows, put in on Mac, exact same file path they asked for, still same error.

UATHelper: Packaging (IOS): ERROR: Precompiled rules assembly ‘/Users/ecophobia/Library/Application Support/Epic/UnrealEngine/Intermediate/Build/BuildRules/MarketplaceRules.dll’ does not exist.  
PackagingResults: Error: Precompiled rules assembly ‘/Users/ecophobia/Library/Application Support/Epic/UnrealEngine/Intermediate/Build/BuildRules/MarketplaceRules.dll’ does not exist.

---

<div class="post-metadata">

**Author:** ![w3086379003](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@w3086379003](https://forums.unrealengine.com/u/w3086379003)\
**Post date:** [August 5, 2022, 10:02am UTC](https://forums.unrealengine.com/t/marketplacerules-dll-does-not-exist/566285/13 "2022-08-05T10:02:49Z")

</div>

I copied marketplacerules DLL to the specified path of MAC, but there will be an error of is denied.

Can someone help me

ERROR: Unhandled exception: System.UnauthorizedAccessException: Access to the path ‘/Users/janetgu/Library/Application Support/Epic/UnrealEngine/Intermediate/Build/BuildRules/MarketplaceRules.dll’ is denied.

---

<div class="post-metadata">

**Author:** ![War\_and\_Donuts](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@War\_and\_Donuts](https://forums.unrealengine.com/u/War_and_Donuts)\
**Post date:** [August 5, 2022, 5:58pm UTC](https://forums.unrealengine.com/t/marketplacerules-dll-does-not-exist/566285/14 "2022-08-05T17:58:43Z")

</div>

I’m sorry that I’m not 100% sure what I did different but I’d at least like to let you know what I did that worked for me:

I’m using UE 5.0.3. When I tried to build I got the same error.  
I went to my %AppData% on my Windows computer and copied my MarketplaceRules.dll to a flash drive.  
Then I transferred my flash drive to my MAC and browsed to my /Users/ directory on my MAC (Using finder on MAC has always been awkward for me.) - The Library folder was hidden for me so I had to right click and manage my view in order to enable viewing the library folder.

It’s been a minute but when I was going through my folders I hit one where my MAC was missing the directory somewhere past the Library folder so I had to create a Build and Build Rules folder (I don’t remember if I had to make an intermediate folder, too). After I was in the right directory and made sure my directory names were all correct I did a shipping package for iOS that worked.

Although, I think your error appears different than what some of us are getting. Your access to that folder is being denied whereas my error read that the folder didn’t exist. Your issue may also be related somehow to permissions or your firewall.

Welcome to the forum! I hope anything I said can be of help!

---

<div class="post-metadata">

**Author:** ![w3086379003](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@w3086379003](https://forums.unrealengine.com/u/w3086379003)\
**Post date:** [August 6, 2022, 11:29am UTC](https://forums.unrealengine.com/t/marketplacerules-dll-does-not-exist/566285/15 "2022-08-06T11:29:55Z")

</div>

Thank you for your reply

At the beginning, I had the same error situation as in the topic, prompting that marketplacerules.dll does not exist.

Then, refer to the method in the topic to copy the specified path from “marketplacerules. DLL” of windows to the Mac, and then prompt me that access is denied……

It’s so sad……

---

<div class="post-metadata">

**Author:** ![Rising2014](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Rising2014](https://forums.unrealengine.com/u/Rising2014)\
**Post date:** [August 25, 2022, 8:19pm UTC](https://forums.unrealengine.com/t/marketplacerules-dll-does-not-exist/566285/16 "2022-08-25T20:19:42Z")

</div>

I found that the lack of MarketplaceRules.dll is only a superficial phenomenon. The real reason may be because you have enabled one or more of the four plug-ins of Live Link, Live Link Control Rig, Apple ARKit, and Apple ARKit Face Support. Turn them off. It can be packaged successfully. If you need Apple ARKit, then at least turn off Apple ARKit Face Support.

---

<div class="post-metadata">

**Author:** ![Eddietal211](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Eddietal211](https://forums.unrealengine.com/u/Eddietal211)\
**Post date:** [January 12, 2023, 11:41pm UTC](https://forums.unrealengine.com/t/marketplacerules-dll-does-not-exist/566285/17 "2023-01-12T23:41:38Z")

</div>

> [@War\_and\_Donuts](#):
>
> MarketplaceRules.dll

You just saved my ■■■ buddy. Thank you.

---

<div class="post-metadata">

**Author:** ![Kioni931118](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Kioni931118](https://forums.unrealengine.com/u/Kioni931118)\
**Post date:** [March 3, 2023, 8:32am UTC](https://forums.unrealengine.com/t/marketplacerules-dll-does-not-exist/566285/18 "2023-03-03T08:32:26Z")

</div>

Hi. I have same experience with you. First I found my mac doesn’t has Epic folder under ‘/Users/xxx/Library/Application Support’ so I created it. But please create it using normal user not super user. That will help you solve access denied problem.

---

<div class="post-metadata">

**Author:** ![FabianaCarboni](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@FabianaCarboni](https://forums.unrealengine.com/u/FabianaCarboni)\
**Post date:** [March 20, 2023, 10:01pm UTC](https://forums.unrealengine.com/t/marketplacerules-dll-does-not-exist/566285/19 "2023-03-20T22:01:45Z")

</div>

Same error

---

<div class="post-metadata">

**Author:** ![BreakMaker](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/breakmaker/32/971651_2.png) [@BreakMaker](https://forums.unrealengine.com/u/BreakMaker)\
**Post date:** [June 11, 2023, 8:44am UTC](https://forums.unrealengine.com/t/marketplacerules-dll-does-not-exist/566285/20 "2023-06-11T08:44:46Z")

</div>

This does not work because Live Link is needed by ARUtilities which in turn is needed by ARKit!

---

<div class="post-metadata">

**Author:** ![BreakMaker](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/breakmaker/32/971651_2.png) [@BreakMaker](https://forums.unrealengine.com/u/BreakMaker)\
**Post date:** [June 11, 2023, 8:47am UTC](https://forums.unrealengine.com/t/marketplacerules-dll-does-not-exist/566285/21 "2023-06-11T08:47:44Z")

</div>

I report that this issue still occurs in 5.1.1. . I have gone ahead and tried with the above recommended solution and it worked like a charm! For me there was no Epic Folder so I have created the entire folder structure.

Important! There is not just one Libraries folder! Make sure you copy the file into the right one under this path: /Users/[yourusername/Library/Application Support/Epic/UnrealEngine/Intermediate/Build/BuildRules/MarketplaceRules.dll

Can it be that all of this would not occur if we were to actually install Unreal Engine on the Mac? 😃

[Next page](https://forums.unrealengine.com/t/marketplacerules-dll-does-not-exist/566285.md?page=2)
