Desktop Pasture

Desktop Pasture

Not enough ratings
How to Import 3D Items with One Click into DesktopPasture to Make Placeable Decoration and Share to Workshop
By DesktopDev
DesktopPasture can directly import various 3D object placeable decorations from Unity. To put it simply, the specific steps are as follows: drag the 3D object from Unity into the AssetBundle Browser, export it as an AssetBundle file, and then directly go to the Decoration page of DesktopPasture and click "Import Decoration". After the import is completed, right-click on it in the Decoration list, and then you can click the upload button to share it to the Workshop.
   
Award
Favorite
Favorited
Unfavorite
First Install and Run Unity
First, you need to download and install Unity, then register a free Unity account, launch Unity and log in.

There are already many tutorials available online for this process, so we won't go into detail here. The key steps are: visit the official Unity website, download and install Unity, then register a free Unity account using your email address and log in to the software.
Create a Universal 3D Project in Unity, install the AssetBundlesBrowser plugin and open it
Open Unity Hub, create a new Universal 3D project (URP) and launch/open this project.



After opening this new project, click "Windows > Package Manager" in the top menu of Unity.



Click the plus button in the upper left corner of the opened PackageManager window, then click "Add Package From git URL" in the drop-down menu.


Then copy and paste the URL of the AssetBundleBrowser plugin, click the "Add" button on the right, and wait for the installation to complete.
The URL of the AssetBundleBrowser plugin (replace the underscores with slashes / in the following URL): github.com_Unity-Technologies_AssetBundles-Browser.git


Wait for the installation to complete.

After the installation of AssetBundleBrowser is completed, it will be as shown in the figure.


Click "Windows > AssetBundles" Browser in the top menu of Unity to open the AssetBundleBrowser window.


Export 3D objects in Unity as files
In Unity's Scene Hierarchy window, select the 3D object you want to export (Figure 1), drag it to any folder in the lower Project window (Figure 2) to generate a Prefab (Figure 4), and then drag this Prefab file (Figure 4) to the Configure page of the AssetBundlesBrowser window (Figure 5).



Switch to the Build page (marked as 2 in the figure) in the AssetBundlesBrowser window (marked as 1 in the figure). Confirm that StandaloneWindows is selected for the Build Target below (marked as 3 in the figure). Then, enter a path on your computer in the Output Path field below (marked as 4 in the figure). For simplicity, here we directly enter the folder "d:\AB". Finally, click the Build button at the bottom (marked as 5 in the figure). After waiting for it to finish executing, a file named after this 3D object will be generated in the specified folder.
Import the file into the Decoration page of the DesktopPasture.
Return to the main window of DesktopPasture, switch to the "Decoration > Placeable Props" page (3 and 4 in the figure), and click the "Import Decoration" button in the upper right corner (5 in the figure) to open the import window.

Drag the 3D object file "cube" exported just now (2 in the figure) directly into the "Model File" row (6 in the figure) in the window. (Note: By default, two files with the same name will be generated for the 3D object file exported just now. Here, you need the one without an extension and with a larger file size, not the one with the ".manifest" extension.)

If the dragged file is correct, a preview of this 3D object Decoration will immediately appear in the pasture at the bottom of the desktop. At this point, you can directly modify parameters such as "Zoom" (7 in the figure), Rotation, and Animation below to adjust the Decoration in real time. A thumbnail of this Decoration will also be automatically generated in the upper right corner.


Click the OK button, and you will see the 3D object you just imported on the Decoration page (as shown in Figure 1). Click it with the left mouse button, and you can place it in the pasture at the bottom of the desktop (as shown in Figure 2). Finally, click the upload button in the upper right corner (as shown in Figure 3) to share it to the Workshop. Enjoy it :)