Skip to content

Conversation

@321abhay
Copy link

@321abhay 321abhay commented May 9, 2017

Hi,

I forked and compiled all three repositories. Following all the instructions and changes required. Now stuck at Unity3d. When I open the project, it does not load the 4square data and nothing is shown in the Scene tab on Unity3d. I am running version 5.6.0f3 of unity.

Abhay

Changed the root location to local folder
@MengeCrowdSim
Copy link
Owner

MengeCrowdSim commented May 9, 2017

I'll have to take a look at this. I was running an older version of Unity. So, I'll upgrade and take a look at both the original master and your modifications. I won't be able to get to it for another 10 hours or so.

Incidentally, what version of Visual Studio did you use to build the Menge dlls?

@MengeCrowdSim
Copy link
Owner

I believe I've figured out your problem:

  1. Do not leave MengeCS_old.dll in the Assets\Scripts folder. Unity tries to be helpful by including all of the dlls. Unfortunately, the old and new introduce the same namespace and that causes conflict.
  2. You need to make sure that in SimController.cs, the mengeRoot variable must end with a backslash.

There is an issue which I'll submit and patch about it failing more gracefully.

@MengeCrowdSim
Copy link
Owner

If you can confirm the fix, I'll close this PR. (I'm assuming it wasn't your intent to actually push this back into MengeUnity, but, instead, to help me see what wasn't working.)

@321abhay
Copy link
Author

321abhay commented May 10, 2017 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants