- Home /
Apple Tv Compilation Error
Hi!!
I have a game with IAP purchase for TVOS. When I install the plugins in services and then go to compile the game in unity I have this console error:
Unhandled Exception: System.Reflection.ReflectionTypeLoadException: The classes in the module cannot be loaded. at (wrapper managed-to-native) System.Reflection.Assembly:GetTypes (bool) at System.Reflection.Assembly.GetTypes () [0x00000] in :0 at Mono.CSharp.RootNamespace.ComputeNamespaces (System.Reflection.Assembly assembly, System.Type extensionType) [0x00000] in :0 at Mono.CSharp.RootNamespace.ComputeNamespace (Mono.CSharp.CompilerContext ctx, System.Type extensionType) [0x00000] in :0 at Mono.CSharp.GlobalRootNamespace.ComputeNamespaces (Mono.CSharp.CompilerContext ctx) [0x00000] in :0 at Mono.CSharp.Driver.LoadReferences () [0x00000] in :0 at Mono.CSharp.Driver.Compile () [0x00000] in :0 at Mono.CSharp.Driver.Main (System.String[] args) [0x00000] in :0
The following assembly referenced from /Users/guille/Documents/Juegos/XXX/Assets/Plugins/UnityPurchasing/Bin/Stores.dll could not be loaded: Assembly: Tizen (assemblyref_index=7) Version: 0.0.0.0 Public Key: (none) The assembly was not found in the Global Assembly Cache, a path listed in the MONO_PATH environment variable, or in the location of the executing assembly (/Users/guille/Documents/Juegos/XXX/Assets/Plugins/UnityPurchasing/Bin/).
Could not load file or assembly 'Tizen, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null' or one of its dependencies.
The problem is that I need the IAP purchase and if I delete the plugin folder it doesn't work in the Apple TV.
I don't know what happen... i don´t even use Tizen!!!!
I need help!!!
Sorry for my poor english and thanks!!
Your answer
![](https://koobas.hobune.stream/wayback/20220612094112im_/https://answers.unity.com/themes/thub/images/avi.jpg)