Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

WebGL build #6

Open
AmirArdroudi opened this issue Aug 5, 2021 · 14 comments
Open

WebGL build #6

AmirArdroudi opened this issue Aug 5, 2021 · 14 comments

Comments

@AmirArdroudi
Copy link

Hey guys, I have some errors on building for webgl. any idea?

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 <7587a42c8322471cbc42b27c9b8eab3c>:0) 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 <7587a42c8322471cbc42b27c9b8eab3c>:0) UnityEditor.AssemblyHelper.FindAssembliesReferencedBy (System.String[] paths, System.String[] foldersToSearch, UnityEditor.BuildTarget target) (at <7587a42c8322471cbc42b27c9b8eab3c>:0) UnityEngine.GUIUtility:ProcessEvent(Int32, IntPtr, Boolean&)

@StinkySteak
Copy link

is system.reactive included on nethereum? try to use Unity .NET dll instead

@juanfranblanco
Copy link
Member

I have included all dlls so everyone can experiment at their own will. I might create different versions of the packaged dlls (advance mode with all).

@AmirArdroudi
Copy link
Author

I have included all dlls so everyone can experiment at their own will. I might create different versions of the packaged dlls (advance mode with all).

I've just clone this repo and wanted to build it for WebGL without any changes in dlls. And yeah, system.reactive is included in the repo.
I've also tried to build it with .NET 4 in player settings, but I get the same error every time.

@juanfranblanco
Copy link
Member

@AmirArdroudi it is my bad when you are working on webgl you won't need half of the dlls, I will make a webgl specific version.

@JacobHomanics
Copy link

@juanfranblanco Hey, still seeing the issue. However It sounds like simply disabling some DLLs will allow it to work properly.

Capture

You wont need to create a new repo or a webgl specific version. You can simply toggle these options for the build versions you would like.

@juanfranblanco
Copy link
Member

Yes, the DLLs are added for completeness. So just a minimal set for users getting started as they don't know which ones might be ideal.

@akshay310599
Copy link

akshay310599 commented Dec 22, 2021

Library\Bee\artifacts\WebGL\build\debug_WebGL_wasm\build.js: undefined symbol: sendfile

This is the issue i am receiving when building for WebGL, what do i need to do. I just cloned and build the exact project.

@minutd97
Copy link

minutd97 commented Jul 14, 2022

for the "Library\Bee\artifacts\WebGL\build\debug_WebGL_wasm\build.js: undefined symbol: sendfile"

Did anyone found anything?

@juanfranblanco
Copy link
Member

Library\Bee ?

@juanfranblanco
Copy link
Member

There is another template https://github.com/Nethereum/Nethereum.Unity.Webgl

@juanfranblanco
Copy link
Member

@minutd97
Copy link

For me it was something else, i had the library/bee problem after upgrading to unity 2021, after creating a new project and importing plugin by plugin, asset by asset, building everytime i was adding something new after 2 hours and a half it finally worked with full project migrated. I really appreciate your answer man thanks anyway!

@juanfranblanco
Copy link
Member

Glad you are sorted, what a pain the migration

@Yuriy-Ihor
Copy link

There is another template https://github.com/Nethereum/Nethereum.Unity.Webgl

This is for Unity 2021+, but not for 2020. Is there any other working templates for 2020?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

7 participants