{"id":1861,"date":"2016-11-16T08:50:18","date_gmt":"2016-11-15T23:50:18","guid":{"rendered":"http:\/\/blog.4star.link\/?p=1861"},"modified":"2016-11-16T08:50:18","modified_gmt":"2016-11-15T23:50:18","slug":"unity5%e3%81%a7%e3%80%81%e3%80%8csystem-reflection-reflectiontypeloadexception-the-classes-in-the-module-cannot-be-loaded-%e3%80%8d%e3%81%ae%e3%82%a8%e3%83%a9%e3%83%bc","status":"publish","type":"post","link":"https:\/\/blog.4star.link\/?p=1861","title":{"rendered":"Unity5\u3067\u3001\u300cSystem.Reflection.ReflectionTypeLoadException: The classes in the module cannot be loaded.\u300d\u306e\u30a8\u30e9\u30fc"},"content":{"rendered":"<h3>Unity5.4\u3092\u4e45\u3005\u958b\u3044\u305f\u3089\u3001\u4e0b\u8a18\u30a8\u30e9\u30fc\u3067\u5b9f\u884c\u3067\u304d\u306a\u3044\u3002<\/h3>\n<pre><code class=\"CSharp\"><br \/>Unhandled Exception: System.Reflection.ReflectionTypeLoadException: The classes in the module cannot be loaded.\n  at (wrapper managed-to-native) System.Reflection.Assembly:GetTypes (bool)\n  at System.Reflection.Assembly.GetTypes () [0x00000] in &lt;filename unknown&gt;:0 \n  at Mono.CSharp.RootNamespace.ComputeNamespaces (System.Reflection.Assembly assembly, System.Type extensionType) [0x00000] in &lt;filename unknown&gt;:0 \n  at Mono.CSharp.RootNamespace.ComputeNamespace (Mono.CSharp.CompilerContext ctx, System.Type extensionType) [0x00000] in &lt;filename unknown&gt;:0 \n  at Mono.CSharp.GlobalRootNamespace.ComputeNamespaces (Mono.CSharp.CompilerContext ctx) [0x00000] in &lt;filename unknown&gt;:0 \n  at Mono.CSharp.Driver.LoadReferences () [0x00000] in &lt;filename unknown&gt;:0 \n  at Mono.CSharp.Driver.Compile () [0x00000] in &lt;filename unknown&gt;:0 \n  at Mono.CSharp.Driver.Main (System.String[] args) [0x00000] in &lt;filename unknown&gt;:0 \n\nThe following assembly referenced from mygame\/Assets\/Plugins\/UnityPurchasing\/Bin\/Stores.dll could not be loaded:\n\n<\/code><\/pre>\n<h4>\u8272\u3005\u3044\u3058\u3063\u305f\u7d50\u679c\u3001Unity5\u306eIAP(<strong>\u30a2\u30d7\u30ea\u306e\u8ab2\u91d1\u6a5f\u80fd<\/strong>\uff09\u304c\u5f71\u97ff\u3057\u3066\u3044\u305f\u3089\u3057\u304f\u3001IAP\u306e\u3092\u30a2\u30c3\u30d7\u30c7\u30fc\u30c8\u3057\u305f\u3089\u6539\u5584\u3055\u308c\u305f\u3002\u3002<\/h4>\n<blockquote>\n<p>\u30a2\u30c3\u30d7\u30c7\u30fc\u30c8\u306f\u3001 Window -> Services\u3000\u306b IAP\uff08\u8ab2\u91d1\u6a5f\u80fd\uff09\u304c\u3042\u308b\u306e\u3067\u3001<br \/>\n  \u305d\u308c\u3092ON\u306b\u3001Import\u3057\u306a\u304a\u305b\u3070OK\uff01\uff01<\/p>\n<\/blockquote>\n<p><a href=\"http:\/\/blog.4star.link\/wp-content\/uploads\/2016\/11\/\u30b9\u30af\u30ea\u30fc\u30f3\u30b7\u30e7\u30c3\u30c8-2016-11-16-8.48.17.png\"><img loading=\"lazy\" decoding=\"async\" src=\"http:\/\/blog.4star.link\/wp-content\/uploads\/2016\/11\/\u30b9\u30af\u30ea\u30fc\u30f3\u30b7\u30e7\u30c3\u30c8-2016-11-16-8.48.17-280x300.png\" alt=\"Unity5IAP\" width=\"280\" height=\"300\" class=\"aligncenter size-medium wp-image-1862\" srcset=\"https:\/\/blog.4star.link\/wp-content\/uploads\/2016\/11\/\u30b9\u30af\u30ea\u30fc\u30f3\u30b7\u30e7\u30c3\u30c8-2016-11-16-8.48.17-280x300.png 280w, https:\/\/blog.4star.link\/wp-content\/uploads\/2016\/11\/\u30b9\u30af\u30ea\u30fc\u30f3\u30b7\u30e7\u30c3\u30c8-2016-11-16-8.48.17.png 746w\" sizes=\"(max-width: 280px) 100vw, 280px\" \/><\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>Unity5.4\u3092\u4e45\u3005\u958b\u3044\u305f\u3089\u3001\u4e0b\u8a18\u30a8\u30e9\u30fc\u3067\u5b9f\u884c\u3067\u304d\u306a\u3044\u3002 Unhandled Exception: System.Reflection.ReflectionTypeLoadException: The classes  &hellip; <\/p>\n<p class=\"link-more\"><a href=\"https:\/\/blog.4star.link\/?p=1861\" class=\"more-link\"><span class=\"screen-reader-text\">&#8220;Unity5\u3067\u3001\u300cSystem.Reflection.ReflectionTypeLoadException: The classes in the module cannot be loaded.\u300d\u306e\u30a8\u30e9\u30fc&#8221; \u306e<\/span>\u7d9a\u304d\u3092\u8aad\u3080<\/a><\/p>\n","protected":false},"author":1,"featured_media":1862,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[16,265,234,315],"tags":[346,251,342,347],"class_list":["post-1861","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-android","category-ios","category-234","category-315","tag-iap","tag-unity5","tag-342","tag-347"],"amp_enabled":true,"_links":{"self":[{"href":"https:\/\/blog.4star.link\/index.php?rest_route=\/wp\/v2\/posts\/1861"}],"collection":[{"href":"https:\/\/blog.4star.link\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/blog.4star.link\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/blog.4star.link\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/blog.4star.link\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=1861"}],"version-history":[{"count":1,"href":"https:\/\/blog.4star.link\/index.php?rest_route=\/wp\/v2\/posts\/1861\/revisions"}],"predecessor-version":[{"id":1863,"href":"https:\/\/blog.4star.link\/index.php?rest_route=\/wp\/v2\/posts\/1861\/revisions\/1863"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/blog.4star.link\/index.php?rest_route=\/wp\/v2\/media\/1862"}],"wp:attachment":[{"href":"https:\/\/blog.4star.link\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=1861"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/blog.4star.link\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=1861"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/blog.4star.link\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=1861"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}