Troubleshooting
This section describes errors or problems you can encounter when you use the Data Streaming package.
General issues
The automatic browser redirection doesn't work
If you run the sample in the Unity Editor, you should see the following page after you successfully login through your browser.
If the browser fails to redirect you to the Editor, and selecting Launch Application does nothing, return to the Editor. Manually returning to the continues the authentication process.
Getting started issues
Runtime errors appeared when building the package
To avoid runtime errors when building with this package, follow these steps:
- In your Unity Project window, go to Edit > Project settings.
The Project setting window opens. - Select the Player option.
- Scroll to the Additional Compiler Arguments section.
- Set the Managed stripping level option to:
- Disabled
or - Minimal (if the Disabled option isn't available)
Sample issues
I can't see any models when the scene runs
To use the Data Streaming package, your project must use either the High Definition Render Pipeline (HDRP) or the Universal Render Pipeline (URP).
For the Offline Sample: in the OfflineSample game object's Path field, you might have also entered an invalid path. Make sure you enter the path to the tileset.json
file without the Assets/StreamingAssets
prefix.
Cloud sample
Nothing happens when I select something
This sample does not support the Input System package. If you rely on Input System in your project, the Editor may not detect your mouse selections.
To fix this, set your Project to support both the built-in input system as well as the Input System package:
- Go to Edit > Project Settings > Player.
- Set Active Input Handling to Both.
A "Missing dependency to x.y.z package" console error appeared
If you don't have all required packages installed, the following error message appears in your console window for every missing package: error CS1029: #error: 'Missing dependency to <package name> package.'
Refer to the Before you start section of the Cloud Scene sample and make sure all packages are installed.
I can't view any organizations, projects, or assets
Make sure that you have successfully created at least one Unity Cloud asset through the Asset Manager on the Asset Manager Dashboard.
Metadata Object Picking sample
I only see the object id in the BIM Metadata window
When you select an object in your dataset and the BIM Metadata window is only showing the object id, this means that no metadata is attached to this object in your original file.