CUA Full Scene Method

  • Views Views: 2,955
  • Last updated Last updated:
  • Full scene method:

    • delete any cameras in the scene
    • (advised, but not 100% necessary): disable any light sources in the scene as you can add lights in VaM to dynamically light the objects. If you leave lights in, they will not be movable in VaM.
    • save Unity scene
    • find the Unity scene in the Project window. Click on the Configure tab in the AssetBundles window. Drag the Unity scene into the AssetBundles window left pane. The scene should appear in the list.
    • Click on the Build tab in AssetBundles window. Select Build Target->Standalone Windows 64
    • If you want to skip the copy + rename steps each time you rebuild, change the Output Path directory to the VaM Custom\Assets directory, and make all your assetbundles under a variant named "assetbundle" to make unity name them correctly.
    • Click the 'Build' button. It could take some time to build depending on size of scene/asset.
    • Open a windows file explorer outside of Unity. Browse to your Unity project directory and then into AssetBundles->StandaloneWindows64. Inside there you should see a file named the same as you scene. Copy this file into your VaM install area. Suggested to place into Custom\Assets (Saves\Assets for versions prior to 1.18) directory as this is where CustomUnityAsset looks for files by default.
    • Rename the copy file to add .assetbundle on the end
    • you should now be able to select this assetbundle file in the CustomUnityAsset atom file browser
    • after selecting the file, you must wait for it to load, and then your scene should appear in the dropdown. Once you select in dropdown it should load into the scene and be visible. Make sure you have a light source or it might not be visible!
Back
Top Bottom