Jump to content

PartTools Problem


Recommended Posts

Heyo, I want to make my own IVAs using PartTools. When I try to import Spaces, it has an error and I can't import them. I can't find why this is happening and how to fix it. This doesn't happen with all parts. Older parts import in just fine but newer parts don't.

I'm using Unity 2019.4.18f1 and the latest PartTools release. I am using the TextMeshPro version that comes with PartTools as I can't download TextMeshPro.

 

 

Link to comment
Share on other sites

19 hours ago, DerinA21 said:

Heyo, I want to make my own IVAs using PartTools. When I try to import Spaces, it has an error and I can't import them. I can't find why this is happening and how to fix it. This doesn't happen with all parts. Older parts import in just fine but newer parts don't.

I'm using Unity 2019.4.18f1 and the latest PartTools release. I am using the TextMeshPro version that comes with PartTools as I can't download TextMeshPro.

 

 

Look at the output console in Unity. I think what you describe can happen if you have certain mods installed that contain cfg files that are empty, or patches only, or something.

Link to comment
Share on other sites

2 hours ago, JonnyOThan said:

Look at the output console in Unity. I think what you describe can happen if you have certain mods installed that contain cfg files that are empty, or patches only, or something.

It says: 

Cannot clone model 'Squad/Spaces/mk2CockpitStandardInternal/model' as model does not exist
UnityEngine.Debug:LogError(Object)
KSPPartTools.PartUtils:CompileModel(UrlConfig, ConfigNode, Single)
KSPPartTools.PartUtils:SpawnSpace(UrlConfig, ConfigNode)
KSPPartTools.PartToolsWindow:DrawSpace(UrlConfig, ConfigNode)
KSPPartTools.PartToolsWindow:DrawSpaces()
KSPPartTools.PartToolsWindow:OnGUI()
UnityEngine.GUIUtility:ProcessEvent(Int32, IntPtr)

Cannot clone model 'Squad/Spaces/OverlayMasks/Mk2StandardMask' as model does not exist
UnityEngine.Debug:LogError(Object)
KSPPartTools.PartUtils:CompileModel(UrlConfig, ConfigNode, Single)
KSPPartTools.PartUtils:SpawnSpace(UrlConfig, ConfigNode)
KSPPartTools.PartToolsWindow:DrawSpace(UrlConfig, ConfigNode)
KSPPartTools.PartToolsWindow:DrawSpaces()
KSPPartTools.PartToolsWindow:OnGUI()
UnityEngine.GUIUtility:ProcessEvent(Int32, IntPtr)

Cannot clone model 'Squad/Spaces/OverlayMasks/Mk2StandardBorder' as model does not exist
UnityEngine.Debug:LogError(Object)
KSPPartTools.PartUtils:CompileModel(UrlConfig, ConfigNode, Single)
KSPPartTools.PartUtils:SpawnSpace(UrlConfig, ConfigNode)
KSPPartTools.PartToolsWindow:DrawSpace(UrlConfig, ConfigNode)
KSPPartTools.PartToolsWindow:DrawSpaces()
KSPPartTools.PartToolsWindow:OnGUI()
UnityEngine.GUIUtility:ProcessEvent(Int32, IntPtr)

Model was not compiled correctly
UnityEngine.Debug:LogError(Object)
KSPPartTools.PartUtils:CompileModel(UrlConfig, ConfigNode, Single)
KSPPartTools.PartUtils:SpawnSpace(UrlConfig, ConfigNode)
KSPPartTools.PartToolsWindow:DrawSpace(UrlConfig, ConfigNode)
KSPPartTools.PartToolsWindow:DrawSpaces()
KSPPartTools.PartToolsWindow:OnGUI()
UnityEngine.GUIUtility:ProcessEvent(Int32, IntPtr)

Cannot create space
UnityEngine.Debug:LogError(Object)
KSPPartTools.PartUtils:SpawnSpace(UrlConfig, ConfigNode)
KSPPartTools.PartToolsWindow:DrawSpace(UrlConfig, ConfigNode)
KSPPartTools.PartToolsWindow:DrawSpaces()
KSPPartTools.PartToolsWindow:OnGUI()
UnityEngine.GUIUtility:ProcessEvent(Int32, IntPtr)

 

I'm rather new to the scene and I want to create IVAs for myself.

Looking into the .cfg files, they look full although I don't know what you mean by "Patches only".  Again, I'm rather new to the scene.
 

Link to comment
Share on other sites

Hmm, there’s probably a more detailed log somewhere that might have more info about why it can’t load those. 
 

By chance, are you in a country that uses comma as a decimal point?  I think parttools uses locale-specific parsing and that can cause a problem.

Link to comment
Share on other sites

3 minutes ago, JonnyOThan said:

Hmm, there’s probably a more detailed log somewhere that might have more info about why it can’t load those. 
 

By chance, are you in a country that uses comma as a decimal point?  I think parttools uses locale-specific parsing and that can cause a problem.

No, I live in the UK which doesn't use a comma as a decimal space

Link to comment
Share on other sites

This thread is quite old. Please consider starting a new thread rather than reviving this one.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...