hello
I’m trying to load an FBX model with LoadModelFromStream
I’m trying to display the loading percentage in the UI using OnProgress.
When loading the model, Unity stops, and when all loading is complete, the OnProgress loading Debug is displayed in the console along with the modeling.
I want Debug of OnProgress to work while loading FBX
Is there a way?
–
Functions I use when loading FBX
AssetLoaderContext assetLoader = TriLibCore.AssetLoader.LoadModelFromStream(myStream, filePath, "fbx", OnLoad, null, OnProgress, null, null, assetLoaderOptions);//"fbx"
I want this to work during FBX loading.
private void OnProgress(AssetLoaderContext assetLoaderContext, float progress)
{
Debug.Log($"Progress: {progress:P}");
}
이채린:
hello
I’m trying to load an FBX model with LoadModelFromStream
I’m trying to display the loading percentage in the UI using OnProgress.
When loading the model, Unity stops, and when all loading is complete, the OnProgress loading Debug is displayed in the console along with the modeling.
I want Debug of OnProgress to work while loading FBX
Is there a way?
–
Functions I use when loading FBX
AssetLoaderContext assetLoader = TriLibCore.AssetLoader.LoadModelFromStream(myStream, filePath, "fbx", OnLoad, null, OnProgress, null, null, assetLoaderOptions);//"fbx"
I want this to work during FBX loading.
private void OnProgress(AssetLoaderContext assetLoaderContext, float progress)
{
Debug.Log($"Progress: {progress:P}");
}
Not a TriLib problem…
Unity stopped in the section where I was downloading files from the server.
Sorry for posting this question.