Skip to content

Commit

Permalink
Fix WSA non-il2cpp exception thrown when initializing type cache.
Browse files Browse the repository at this point in the history
  • Loading branch information
jacobdufault committed Apr 23, 2016
1 parent c2f64e5 commit df3060d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Assets/FullSerializer/Source/Reflection/fsTypeCache.cs
Expand Up @@ -31,7 +31,7 @@ public static class fsTypeCache {
#if (!UNITY_EDITOR && UNITY_METRO && !ENABLE_IL2CPP) // no AppDomain on WinRT
var assembly = typeof(object).GetTypeInfo().Assembly;
_assembliesByName[assembly.FullName] = assembly;
_assembliesByIndex[0] = assembly;
_assembliesByIndex.Add(assembly);
#else
foreach (Assembly assembly in AppDomain.CurrentDomain.GetAssemblies()) {
_assembliesByName[assembly.FullName] = assembly;
Expand Down

0 comments on commit df3060d

Please sign in to comment.