{"action":"created","issue":{"url":"https://api.github.com/repos/RyanLamansky/dotnet-webassembly/issues/20","repository_url":"https://api.github.com/repos/RyanLamansky/dotnet-webassembly","labels_url":"https://api.github.com/repos/RyanLamansky/dotnet-webassembly/issues/20/labels{/name}","comments_url":"https://api.github.com/repos/RyanLamansky/dotnet-webassembly/issues/20/comments","events_url":"https://api.github.com/repos/RyanLamansky/dotnet-webassembly/issues/20/events","html_url":"https://github.com/RyanLamansky/dotnet-webassembly/issues/20","id":534475735,"node_id":"MDU6SXNzdWU1MzQ0NzU3MzU=","number":20,"title":"Running WASM from inside Unity","user":{"login":"Verdagon","id":192751,"node_id":"MDQ6VXNlcjE5Mjc1MQ==","avatar_url":"https://avatars2.githubusercontent.com/u/192751?v=4","gravatar_id":"","url":"https://api.github.com/users/Verdagon","html_url":"https://github.com/Verdagon","followers_url":"https://api.github.com/users/Verdagon/followers","following_url":"https://api.github.com/users/Verdagon/following{/other_user}","gists_url":"https://api.github.com/users/Verdagon/gists{/gist_id}","starred_url":"https://api.github.com/users/Verdagon/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Verdagon/subscriptions","organizations_url":"https://api.github.com/users/Verdagon/orgs","repos_url":"https://api.github.com/users/Verdagon/repos","events_url":"https://api.github.com/users/Verdagon/events{/privacy}","received_events_url":"https://api.github.com/users/Verdagon/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":14,"created_at":"2019-12-08T01:12:56Z","updated_at":"2019-12-16T05:28:44Z","closed_at":null,"author_association":"NONE","body":"Do you know if we can use dotnet-webassembly to run wasm from inside Unity? That would be a gamechanger!\r\n\r\n(I'd be happy to spend a couple days testing it out if it's not known already!)"},"comment":{"url":"https://api.github.com/repos/RyanLamansky/dotnet-webassembly/issues/comments/565911292","html_url":"https://github.com/RyanLamansky/dotnet-webassembly/issues/20#issuecomment-565911292","issue_url":"https://api.github.com/repos/RyanLamansky/dotnet-webassembly/issues/20","id":565911292,"node_id":"MDEyOklzc3VlQ29tbWVudDU2NTkxMTI5Mg==","user":{"login":"Verdagon","id":192751,"node_id":"MDQ6VXNlcjE5Mjc1MQ==","avatar_url":"https://avatars2.githubusercontent.com/u/192751?v=4","gravatar_id":"","url":"https://api.github.com/users/Verdagon","html_url":"https://github.com/Verdagon","followers_url":"https://api.github.com/users/Verdagon/followers","following_url":"https://api.github.com/users/Verdagon/following{/other_user}","gists_url":"https://api.github.com/users/Verdagon/gists{/gist_id}","starred_url":"https://api.github.com/users/Verdagon/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Verdagon/subscriptions","organizations_url":"https://api.github.com/users/Verdagon/orgs","repos_url":"https://api.github.com/users/Verdagon/repos","events_url":"https://api.github.com/users/Verdagon/events{/privacy}","received_events_url":"https://api.github.com/users/Verdagon/received_events","type":"User","site_admin":false},"created_at":"2019-12-16T05:28:43Z","updated_at":"2019-12-16T05:28:43Z","author_association":"NONE","body":"Thanks for offering to take a look! Luckily, I found a way past that roadblock.\r\n\r\nIn addition to the Save call I added, I needed to pass another parameter to DefineDynamicModule, like in this answer: https://stackoverflow.com/a/3963033. Suddenly, there's a CompiledWebAssembly.dll with things in it!\r\n\r\nThe next mystery: when I try to use it from visual studio, I get the error \"A reference to CompiledWebAssembly.dll could not be added. Please make sure that the file is accessible, and that it is a valid assembly or COM component.\"\r\n\r\nAs per https://stackoverflow.com/a/15832691, I ran `regsvr32 something.dll` as admin, and I got the error \"The module CompiledWebAssembly.dll was loaded but the entry-point DllRegisterServer was not found. Make sure that CompiledWebAssembly.dll is a valid DLL or OCX file and then try again.\"\r\n\r\nSome googling later, and I found https://stackoverflow.com/a/13948668 which confirms that the .dll is expected to have a DllRegisterServer method.\r\n\r\nTomorrow I'll try generating an empty DllRegisterServer method, to see if that helps."}}
{"actor":{"display_login":"Verdagon"}}