Я использую Unity 2017.2 и столкнулся с этой ошибкой при сборке APK-файла.
ArgumentException: The Assembly System.Reflection.Emit is referenced by
Microsoft.AspNetCore.SignalR.Core
('Assets/Plugins/Microsoft.AspNetCore.SignalR.Core.dll'). But the dll is not
allowed to be included or could not be found.
UnityEditor.AssemblyHelper.AddReferencedAssembliesRecurse (System.String
assemblyPath, System.Collections.Generic.List`1[T] alreadyFoundAssemblies,
System.String[] allAssemblyPaths, System.String[] foldersToSearch,
System.Collections.Generic.Dictionary`2[TKey,TValue] cache,
UnityEditor.BuildTarget target) (at
C:/buildslave/unity/build/Editor/Mono/AssemblyHelper.cs:152)
UnityEditor.AssemblyHelper.FindAssembliesReferencedBy (System.String[] paths,
System.String[] foldersToSearch, UnityEditor.BuildTarget target) (at
C:/buildslave/unity/build/Editor/Mono/AssemblyHelper.cs:192)
UnityEngine.GUIUtility:ProcessEvent(Int32, IntPtr)
В моем проекте нужно использовать .Net 4.6. Итак, я изменил его в настройках плеера. У меня нет никакой ошибки, когда я нажимаю кнопку воспроизведения в редакторе, но когда я хочу его построить, это происходит именно здесь.
Надеюсь, кто-то может помочь мне в этом. Спасибо
Microsoft.AspNetCore.SignalR.Client
, и он потянет все зависимости. Он не будет извлекать Microsoft.AspNetCore.SignalR.Core, поскольку он предназначен для сервера. - person Pawel   schedule 04.01.2018