简体   繁体   中英

Forge AR/VR Toolkit Unable to get scene in Unity

I have been trying to use forge AR/VR toolkit to fetch Revit model from BIM360 to Unity. I have created a scene, posted the job and got the manifest(shows status complete).

In Unity (Vr. 2019.2.12f1), I import the forge unity package. It shows the following warnings.

在此处输入图像描述

If i skip through these warnings, enter the model URN, Access Token and Scene ID, and hit play, nothing gets loaded. I get error 422: Unprocessable Entity. However it also says scene loaded in 2.something seconds. Image shown below.

I tried the same workflow once earlier and it worked. I am not sure what the issue is now. 在此处输入图像描述

Ok, so I just tried urn, token etc from forge sample gallery. It works. So clearly there is a problem with my workflow.

When creating scenes from BIM360 models, make sure to include the project_id and version_id fields:

场景创建 API

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM