Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Asset Details Panel: String too long for TextMeshGenerator. Cutting off characters. #122

Open
nicholas-garcia opened this issue May 13, 2019 · 1 comment

Comments

@nicholas-garcia
Copy link

If a Scene is selected in the Asset List Panel a "String too long for TextMeshGenerator. Cutting off characters." error message can be thrown by the Asset Details Panel. This happens when the string used in GUIStyle.CalcHeight for the Asset Details panel goes beyond the 65,534 vertex limit.

This tends to happen more often with Scenes that have a massive amount of implicitly included assets. This could also happen with smaller scenes if the implicitly included assets have long names, but less likely. This can potentially happen with any asset that has a long implicit include list.

One possible solution might be to redesign the Asset Details Panel so that each implicitly included asset is a separate entry in the panel.

UnityConsole AssetBundleBrowser Errors

@nicholas-garcia
Copy link
Author

In order to avoid this error I modified the code within ABModelAssetInfo.GetMessages(). While evaluating dependencies I check if the dependency string generated is longer than 15000 characters. If the string is longer than the limit, I change the string to state the amount of dependencies instead.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant