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

Building to Quest results in WebAWS error #109

Open
mrstruijk opened this issue Feb 17, 2022 · 10 comments
Open

Building to Quest results in WebAWS error #109

mrstruijk opened this issue Feb 17, 2022 · 10 comments

Comments

@mrstruijk
Copy link

Hi!

When I'm trying to build my main project to the Quest (which usually worked well on pre-UXF builds), I get the error below re AWSDynamoDB.
In the Rig I haven't selected AWS, and I've run the 'SetupWizard - Select Android VR' option.
After receiving this error, I've tried removing the Library folder, but no change.
I also deleted the AWS plugin from the UXF/Plugins folder, but also no change.

I'm still on 2.3.6, but AFAIK .7 didn't have any changes that might address this.

What might cause this issue?

Thanks,
Maarten

Building Library/Bee/artifacts/Android/d8kzr/libil2cpp.so failed with output:
Library/Bee/artifacts/Android/d8kzr/uxnc_UXF.o: In function WebAWSDynamoDB_DDB_Setup_mA4ACCDF69FDF93A7DB6D48B7AADC0B7CA8270A61': /Users/mrstruijk/Current Unity Projects/Trauma/Trauma/Library/Bee/artifacts/Android/il2cppOutput/cpp/UXF.cpp:15735: undefined reference to DDB_Setup'
Library/Bee/artifacts/Android/d8kzr/uxnc_UXF.o: In function WebAWSDynamoDB_DDB_CreateTable_mBEC1D8220C73DDE2D9C6868EEE477792D4B13CE9': /Users/mrstruijk/Current Unity Projects/Trauma/Trauma/Library/Bee/artifacts/Android/il2cppOutput/cpp/UXF.cpp:15772: undefined reference to DDB_CreateTable'
Library/Bee/artifacts/Android/d8kzr/uxnc_UXF.o: In function WebAWSDynamoDB_DDB_PutItem_mAE56450BF66EEE64A056201160BE97B1B9A26B7F': /Users/mrstruijk/Current Unity Projects/Trauma/Trauma/Library/Bee/artifacts/Android/il2cppOutput/cpp/UXF.cpp:15809: undefined reference to DDB_PutItem'
Library/Bee/artifacts/Android/d8kzr/uxnc_UXF.o: In function WebAWSDynamoDB_DDB_BatchWriteItem_m0A1C15D7D2A59806347427CBD2F1C681B762867B': /Users/mrstruijk/Current Unity Projects/Trauma/Trauma/Library/Bee/artifacts/Android/il2cppOutput/cpp/UXF.cpp:15842: undefined reference to DDB_BatchWriteItem'
Library/Bee/artifacts/Android/d8kzr/uxnc_UXF.o: In function WebAWSDynamoDB_DDB_GetItem_m2B7D409CD47CE169E2B44CBA3C05F38BB80868B3': /Users/mrstruijk/Current Unity Projects/Trauma/Trauma/Library/Bee/artifacts/Android/il2cppOutput/cpp/UXF.cpp:15879: undefined reference to DDB_GetItem'
Library/Bee/artifacts/Android/d8kzr/uxnc_UXF.o: In function WebAWSDynamoDB_DDB_Cleanup_mABFB23399CCD6BAE5115EDD6C3EF70194FD2D33F': /Users/mrstruijk/Current Unity Projects/Trauma/Trauma/Library/Bee/artifacts/Android/il2cppOutput/cpp/UXF.cpp:15904: undefined reference to DDB_Cleanup'
Library/Bee/artifacts/Android/d8kzr/uxnc_UXF.o: In function WebAWSDynamoDB_GetUserInfo_m4A712105369BE2445004E7285CAD9177145113FB': /Users/mrstruijk/Current Unity Projects/Trauma/Trauma/Library/Bee/artifacts/Android/il2cppOutput/cpp/UXF.cpp:15913: undefined reference to GetUserInfo'
/Users/mrstruijk/Current Unity Projects/Trauma/Trauma/Library/Bee/artifacts/Android/il2cppOutput/cpp/UXF.cpp:15913: undefined reference to GetUserInfo' Library/Bee/artifacts/Android/d8kzr/uxnc_UXF.o: In function WebAWSDynamoDB_DDB_Cleanup_mABFB23399CCD6BAE5115EDD6C3EF70194FD2D33F':
/Users/mrstruijk/Current Unity Projects/Trauma/Trauma/Library/Bee/artifacts/Android/il2cppOutput/cpp/UXF.cpp:15904: undefined reference to `DDB_Cleanup'
clang++: error: linker command failed with exit code 1 (use -v to see invocation)
UnityEditor.EditorApplication:Internal_CallGlobalEventHandler () (at /Users/bokken/buildslave/unity/build/Editor/Mono/EditorApplication.cs:462)

@thefirstfloor
Copy link

I had this issue too and ended up manually removing all WebAWSDynamoDB scripts as I was not using that platform anyway.
That did the trick for me building for Quest.
Goodluck, Jeroen

@jackbrookes
Copy link
Member

jackbrookes commented Feb 17, 2022 via email

@mrstruijk
Copy link
Author

Thanks for the speedy replies @thefirstfloor & @jackbrookes !

Yes, I've been developing in 2021. Back when I started I figured that during the life-cycle of this program, 2021 would become LTS. I figured that this was a safer bet (since only upgrading within 2021) than to upgrade from 2020 to 2021 when the LTS-clock struck :). You would do differently?

I've deleted the WebAWSDynamoDB script, and building works like a charm again!

Thanks for the advice guys

@jackbrookes
Copy link
Member

jackbrookes commented Feb 17, 2022 via email

@jackbrookes
Copy link
Member

I'll keep this open to see if I can find a better fix

@Amarbd
Copy link

Amarbd commented Mar 26, 2022

Hi,

I have been facing the same issue as described above and have tried removing the WebAWSDynamoDB script. However, I get a new error when building to the Quest:

You are trying to replace or create a Prefab from the instance 'Web AWS DynamoDB' that references a missing script. This is not allowed.
Please change the script or remove it from the GameObject.
UnityEngine.GUIUtility:ProcessEvent (int,intptr,bool&)

I cannot seem to find what kind of instance is being replaced/created or where. Any suggestions?

Thanks!

Amar

@thefirstfloor
Copy link

Probably you deleted the script(s) that was living on a prefab, now Unity complains about that.
That prefab might be somewhere in the UXF hierarchy in your project.

@Amarbd
Copy link

Amarbd commented Mar 27, 2022

I removed the WebAWS Gameobject from the UXF_rig and now it works! Thanks!

@jackbrookes
Copy link
Member

I can't replicate this issue: Can anyone who has this issue take a look at the settings when clicking on the AWSJS plugin? (Assets\UXF\Plugins\AWSJS.jslib) They should look like this.

image

@jackbrookes
Copy link
Member

Released a new version which may help fix this: https://github.com/immersivecognition/unity-experiment-framework/releases/tag/2.4.3

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

4 participants