-
Notifications
You must be signed in to change notification settings - Fork 107
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
System.IO.FileNotFoundException: Could not locate unity.repl.clj.dll or unity/repl.clj on load path. #44
Comments
What version of Unity are you on? We're on 4.3.0f4. Some things to try:
|
4.5.4f1 I will try those things, thanks. |
Hydration might be a problem for you, then. We're working on it. |
Is it a problem with the windows paths? I had to modify static public void SetupLoadPath() {
string loadPath = "";
string rootPath = System.Environment.CurrentDirectory.Replace("\\", "/");
foreach(string path in CompilationRoots) {
loadPath += rootPath + "/" + path + ";";
}
System.Environment.SetEnvironmentVariable("CLOJURE_LOAD_PATH", loadPath);
Debug.Log(System.Environment.GetEnvironmentVariable("CLOJURE_LOAD_PATH"));
} |
The suggested fix from @sonelliot worked for me on 4.3, Windows 7. |
I'm on Windows 7, trying the proposed fix. Freezes on play for me in 4.5.3f,
|
Having the same issue. Freezes and trying to start REPL gives me the same error: "Could not locate unity.repl.clj.dll or unity/repl.clj on load path" |
@nasser Remove Clojure folder, press play: it works (and does nothing much because it's an otherwise empty project). Put Clojure folder back: Debug.Log the path, The error message does not appear in 4.5; though pressing play still seems to freeze the Unity editor. |
@ikarth is Edit > Project Settings > Api Compatibility Level at .NET 2.0? |
@nasser Yes, unfortunately. First thing I checked. I think I'll try it on another machine here and see if its somehow specific to this one. |
@nasser Clean install, Windows 7, Unity 4.3.4. Add Clojure folder: Making the proposed change to SetupLoadPath() lets Unity find the REPL and start it. Another |
@nasser yes, windows 7. |
@nasser Same machine, Windows 7: parade-route works, clojure-unity doesn't. (Freezes when you hit the play button.) |
For future reference, I have the REPL working, though 'play' still freezes. If anyone else is having issues, connect to the REPL (the client Ruby script in the Extras folder is probably simplest for testing) and try a simple command like (GameObject. "Hello World"). EDIT: Play works...some of the time. I haven't worked out what the difference is, though it may just be a delay. I moved the DLLs to the Compiled folder, that seemed to help, though I haven't tested extensively. Code for Windows paths with no errors on Unity 4.5.3 (that may break everything else, so use at your own risk, I haven't tested much):
|
A status update: As of today, on Windows 7, Arcadia-master and Unity 4.6.0f3 produces the following error message on initialization:
Arcadia-develop and Unity 4.6.0f3 produces the following:
The AOT compilation doesn't seem to be working, the Compiled directory is empty. |
New user here. I also have this error on startup, Win 7 64, Ruby 2.1.6, Unity 4.6.0b20:
I also managed to get the REPL up and working with the change from @sonelliot. Any work toward fixing the .clj.dll/.clj locate bug over the last few months? |
Yup, closed as a dup. Should have been more clear of that! @hatmatter you should jump on the gitter if you're still seeing this issue. I'd be happy to walk you though it. |
I just tried to place clojure in my assets folder after issue #36 was fixed. I got this error...
System.IO.FileNotFoundException: Could not locate unity.repl.clj.dll or unity/repl.clj on load path.
at clojure.lang.RT.load (System.String relativePath, Boolean failIfNotFound) [0x00000] in :0
at clojure.lang.RT.load (System.String relativePath) [0x00000] in :0
at ClojureRepl.StartREPL () [0x00000] in C:\Users\jacob\Documents\2d Game Practice\Assets\Clojure\Editor\ClojureRepl.cs:30
at ClojureRepl..cctor () [0x00005] in C:\Users\jacob\Documents\2d Game Practice\Assets\Clojure\Editor\ClojureRepl.cs:16
UnityEditor.EditorAssemblies:SetLoadedEditorAssemblies(Assembly[])
The text was updated successfully, but these errors were encountered: