Nethereum: unity build error on webgl ,pls help
hi it is ok on unity editor,but I switch to webgl platform and build project ,it reports error,pls help ,thks
ArgumentException: The Assembly WindowsBase is referenced by System.Reactive (‘Assets/Plugins/System.Reactive.dll’). But the dll is not allowed to be included or could not be found.
UnityEditor.AssemblyHelper.AddReferencedAssembliesRecurse (System.String assemblyPath, System.Collections.Generic.List1[T] alreadyFoundAssemblies, System.String[] allAssemblyPaths, System.String[] foldersToSearch, System.Collections.Generic.Dictionary2[TKey,TValue] cache, UnityEditor.BuildTarget target) (at <a9d6276083484759be43f20e6e92863e>:0)
UnityEditor.AssemblyHelper.FindAssembliesReferencedBy (System.String[] paths, System.String[] foldersToSearch, UnityEditor.BuildTarget target) (at <a9d6276083484759be43f20e6e92863e>:0)
UnityEngine.GUIUtility:ProcessEvent(Int32, IntPtr, Boolean&)
About this issue
- Original URL
- State: closed
- Created 3 years ago
- Reactions: 2
- Comments: 15 (4 by maintainers)
Apologies that sounded more crypted that I wanted, Webgl has a smaller support of features, the releases and samples include all dlls as the net461 enabled all the vanilla support of Nethereum, but yes it will break some areas, as not supported.
Just include these dlls, same subset as net351 and you should be ok:
Note to self (do a package of the above)
Please use net461dllsAOTCustom.zip if you want. It contains all files I needed.
Check the the https://github.com/Nethereum/Nethereum.Unity.Webgl if you have any issues and as an example of integration with MM, also the subset of dlls is included here: https://github.com/Nethereum/Nethereum.Unity.Webgl/tree/main/Assets/Plugins