-
-
Notifications
You must be signed in to change notification settings - Fork 112
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
Test files should not be pulled into builds #18
Comments
This should only be required if you're trying to run the test suite (at that point I highly suggest cloning down this repo instead) or you manually pulled the files into your project. How did you install the package? Hopefully you used the guide here? https://github.com/ashblue/fluid-behavior-tree#installing |
I installed the package following guide instructions, adding scopedRegistries entry in file manifest.json then using Unity Package Manager to get the package. |
Weird, haven't seen this before. Wondering if you somehow included the test files with your asmdef files. I'll try to reproduce on my end this weekend. What's your Unity version? |
It's 2018.4.22f1. |
Uh oh, I think this package is marked as 2019 required at least. Big changes to the package manager since then. I'll update the install docs if this is the case. |
Okay min is 2018.1, will investigate and update more here this weekend https://github.com/ashblue/fluid-behavior-tree/blob/master/Assets/FluidBehaviorTree/package.json#L6 |
A fresh install of 2019.3.15f1 with the library works fine. Proceeding to check 2018.4.22f1 to see if I can reproduce. |
@mduvergey I tried your specific version and I can't reproduce this issue. Can you post the specific error message? I think it may be something specific to your setup. Are you using .asmdef files? If so don't include any of the test ones. |
Here is the error message: I'm not using .asmdef files. One interesting thing I just found out is that the problem occurs with version 2.2.1 of Fluid BT but not with version 2.2.0. |
That gives me an idea, going to try fiddling with some settings. |
Yep, able to confirm, I'll try to get this patched asap. |
I found the issue. Looks like the editor test file was mangled on Unity upgrade. v2.2.0...v2.2.1#diff-0fe051f82fee31b8860f0c4d27fce39a |
Unity auto upgrade overwrote a sensitive asmdef file that started pulling in test files. This patch restores things back to the expected functionality. #18
Unity auto upgrade overwrote a sensitive asmdef file that started pulling in test files. This patch restores things back to the expected functionality. #18
Heyo, I got a fix into the nightly build which seems to be working fine. If you have some time you can try it out here (no pressure though). https://github.com/ashblue/fluid-behavior-tree#nightly-builds This will go out in the next release. I need to fix another bug with composites. Once that's done the two should go out together in a patch. PS Thank you super duper much for your patience with reporting this. Will add you as a contributor for the stellar bug report. |
@all-contributors please add mduvergey for bug |
I've put up a pull request to add @mduvergey! 🎉 |
Unity auto upgrade overwrote a sensitive asmdef file that started pulling in test files. This patch restores things back to the expected functionality. #18
Hi, |
Unity auto upgrade overwrote a sensitive asmdef file that started pulling in test files. This patch restores things back to the expected functionality. #18
Unity auto upgrade overwrote a sensitive asmdef file that started pulling in test files. This patch restores things back to the expected functionality. #18
Unity auto upgrade overwrote a sensitive asmdef file that started pulling in test files. This patch restores things back to the expected functionality. #18
Unity auto upgrade overwrote a sensitive asmdef file that started pulling in test files. This patch restores things back to the expected functionality. #18
Unity auto upgrade overwrote a sensitive asmdef file that started pulling in test files. This patch restores things back to the expected functionality. #18
Unity auto upgrade overwrote a sensitive asmdef file that started pulling in test files. This patch restores things back to the expected functionality. #18
Unity auto upgrade overwrote a sensitive asmdef file that started pulling in test files. This patch restores things back to the expected functionality. #18
Unity auto upgrade overwrote a sensitive asmdef file that started pulling in test files. This patch restores things back to the expected functionality. #18
Unity auto upgrade overwrote a sensitive asmdef file that started pulling in test files. This patch restores things back to the expected functionality. #18
Unity auto upgrade overwrote a sensitive asmdef file that started pulling in test files. This patch restores things back to the expected functionality. #18
Unity auto upgrade overwrote a sensitive asmdef file that started pulling in test files. This patch restores things back to the expected functionality. #18
Hi,
Installing NSubstitute with Unity package manager is required in order for Fluid Behavior Tree to compile properly.
Installation guidelines should mention that.
Best regards
The text was updated successfully, but these errors were encountered: