playMaker

Author Topic: Playmaker Ecosystem error in ubuntu  (Read 3991 times)

jhovala

  • Playmaker Newbie
  • *
  • Posts: 1
Playmaker Ecosystem error in ubuntu
« on: October 31, 2022, 10:51:59 AM »
Hiho, I have this msg when i try to open the ecosystem:

DirectoryNotFoundException: Could not find a part of the path "/home/user/Documents/Unity/Playmaker/Assets/Net.Fabrejean/Editor/PlayMaker/Ecosystem/VersionInfo.json

but I backup the folder to windows and it works fine.
how to fix it in ubuntu 18.04

djaydino

  • Administrator
  • Hero Member
  • *****
  • Posts: 7616
    • jinxtergames
Re: Playmaker Ecosystem error in ubuntu
« Reply #1 on: November 02, 2022, 01:39:28 AM »
Hi.
Without editing the code i don't think you can fix this.

what you can try is find "VersionInfo.json" on your machine then edit the code to direct to the correct path.

jpileborg

  • Playmaker Newbie
  • *
  • Posts: 1
Re: Playmaker Ecosystem error in ubuntu
« Reply #2 on: April 06, 2024, 08:20:28 PM »
This seems like a filesystem upper versus lower case issue.

The file being searched for have the path-part Net.Fabrejean while the path on disk is net.fabrejean.

This doesn't matter in Windows, which defaults all file systems to be case insensitive. But on Linux the filesystems are case sensitive.

The solution is to edit the source file Assets/net.fabrejean/Editor/PlayMaker/Ecosystem/EcosystemBrowser.cs and on line 43 (on my version) change the initialization of the variable pathToVersionInfoSource from:
Code: [Select]
const string pathToVersionInfoSource = "Assets/Net.Fabrejean/Editor/PlayMaker/Ecosystem/VersionInfo.json";
to
Code: [Select]
const string pathToVersionInfoSource = "Assets/net.fabrejean/Editor/PlayMaker/Ecosystem/VersionInfo.json";

Hopefully the PlayMaker maintainers can make this change upstream?
« Last Edit: April 06, 2024, 08:31:18 PM by jpileborg »