I have got the below error in Windows build, it works perfectly in Mac and Editor.
I don’t have any more details about the error but i am not able to see my alembic model after this error.
I have got the below error in Windows build, it works perfectly in Mac and Editor.
I don’t have any more details about the error but i am not able to see my alembic model after this error.
It suggests you to search trough your code for [SerializeField] or public fields enclosed with #ifdef … #endif in assets or pefabs scripts. Did you? Found anything suspicious?
I understand the error, and it specifically reflects the file which causes the error, and from what I understand it is Alembic Plugin which causes this error, I don’t know how to solve the problem. but I still checked in my source code and there is no code which I marked with [SerializedField] nor any public field which I marked with #ifdef … #endif.
https://github.com/unity3d-jp/AlembicForUnity/search?p=2&q=ifdef&unscoped_q=ifdef
Alembic plugin itself does not contain code of this kind either. So I suspect it is not generating some data for windows platform specifically. May be it devoured an exception or may be just failed. I would try to search for platfom dependent ifs in the plugin or wait someone from @ Team here to reply.
Oh Thanks for the quick reply, let me tell you the details so you or anyone from unity can regenerate this error.
by the way, I haven’t used the plugin from GitHub, I downloaded it using package manager? is it fine or maybe I need to replace my plugin with GitHub ones?
Normally it should be installed with package manager, if present there. And your Unity version is not the latest one or alpha-beta one, so I don’t think github sources will help, but you should try that too.
Hey,
I saw this issue in the past in builds but have not been able to repro reliably. It usually goes away after a Library clean or Package reinstall.
Hope this helps…
Finally solved the issue.
Thanks, @palex-nx .
Downloaded the plugin from GitHub - Unity-Technologies/com.unity.formats.alembic: Alembic importer and exporter plugin for Unity and uninstall the plugin from the Package manager does the trick for me.
@vladala I think there must be some problem with Package Manager’s Plugin version, and in Package Manager, the plugin is updated on 26-08-2019 v1.0.6 and in GitHub page the last release for v1.0.6 shown on 7th October 2019 but I don’t know the unity package release date so I may wrong.
My Windows build is working, but my WebGL build is not.
I tried this solution – to uninstall the Package Manager version and install the GitHub version.
First I had a duplicate abci.dll problem, which I solved by deleting one dll.
And then, I had this error as an alert in Chrome: “To use dlopen, you need to use Emscripten’s linking support”
Has anyone seen these problems, and has anyone solved them?
Hey @Howrad ! The Alembic package doesn’t support WebGL builds at the moment. The only supported platforms are standalone builds for Windows, OSX, and Linux builds.