hippogamesunity / HeroEditorHub

Support for Hero Editor assets
18 stars 0 forks source link

Cant save prefabs #148

Closed SorginDigitala closed 3 years ago

SorginDigitala commented 3 years ago

Im using Windows and i getting an error when i press "save / prefab" button.

Fixed replacing line Common/EditorScripts/CharacterEditor.cs:347

            Save("Assets" + PrefabFolder.Replace(Application.dataPath, null));

To: Save(PrefabFolder);

hippogamesunity commented 3 years ago

Hi, what error?

SorginDigitala commented 3 years ago

The error was that the path was not correct after select a folder. It started with AssetsC:/... I have tried to replicate it in 2020.3.3f1 version and w10, but now it works correctly. Maybe it was caused by being the first time. I have no idea.

hippogamesunity commented 3 years ago

Hi! You should select any folder inside Assets. Unity can't save prevabs to Desktop.