-
Notifications
You must be signed in to change notification settings - Fork 45
Description
Details: icons in hammer table has sometimes visual issues
Jotunn Version: 2.10.1.0
Jotunn Submodule(if applicable): none
Repeatability(Consistent(100%), Inconsistent(50%), Rare(1%), Unknown(==1)): Inconsistent or rare
Problem Description:
I've develop a mod that add vanilla prefabs as building pieces in the game. The code wich generate the icon is :
private static Sprite CreatePrefabIcon(GameObject prefab)
{
Sprite result = RenderManager.Instance.Render(prefab, RenderManager.IsometricRotation);
return result;
}
The mod is available here : https://github.com/galathil/MoreVanillaBuilds
Note that my mods icons are affected by this random issue, not vanilla icons. You need to restart the game to clear this issue.
Other mods in plugin folder :
- BuildExpansion.dll (https://www.nexusmods.com/valheim/mods/950)
- ConfigurationManager.dll (https://www.nexusmods.com/valheim/mods/740)
- Gizmo.dll (https://github.com/galathil/Gizmo)
Maybe i make a mistake with RenderManager but i look other mods that include custom content in the game and syntax is the same.
Expected Behaviour:
No visual glitches
Actual Behaviour:
Visual glitches sometimes :
Link to your server's and client's LogOutput.log
No error in logs

