-
Notifications
You must be signed in to change notification settings - Fork 55
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
Problems running Unity3d build of game? #13
Comments
Did you pick Window->HappyFunTimes->Export for HappyFunTimes? Right now you can only run the games from HappyFunTimes. After you export it will create .zip files. Run happyfuntimes, drag and drop the zip file for your platform into the happyfuntimes window and it should install it. Alternatively you can pick Window->HappyFunTimes->Install into Local Happyfuntimes I've almost got a version ready that no longer needs the external happyfuntimes program at all. It will just run as a normal unity program and none of the special exporting feature are needed Hopefully I'll have that ready as the 2.0 version of the plugin in 2 or 3 weeks -gregg |
If you'd like to beta test the new 2.0 version you can get it here Please BACKUP YOUR WORK. Copy your entire project to a new folder and try this in the new folder Steps
Things to note:
|
It exported a normal mac .app file in a bin folder. The bin folder being in the main project folder. It did throw the following errors. Even with those errors when I ran the exported .app file with happy fun times running. The game worked with controllers connecting to it just fine. It only builds the open scene. Is there a way to build multiple scenes with this option?
and
As of now what works is fine for now as I playtest the game. I will try the new HFT Unity plugin and let you know. Thanks! Love the plugin! |
Try the new plugin. I'll cross my fingers it works |
@greggman I tried the new plugin. It works okayish in the Unity Editor throws errors about
and the like but that's just on start up and then works fine. I tried the build and that didn't work. It creates the server but connecting a controller throws these errors
|
Try this
Now try building again. The new plugin needs to copy all the files but that folder but it only notices them when they are added or changed. Since in your case they already existed it didn't get a chance to copy them. Renaming should make it notice all the files |
And please tell me if that fixes it 🙏 |
I did what you said. It stopped throwing the errors. Although the controllers are still not connecting. Here's what happens
If you touch to reset you just go through the same steps. This is only in the build though. In the Unity Editor the controller connects and no errors. |
Thanks for that info. That's really helpful! I will look into it |
I uploaded a new version that seems to be work in builds. At least for me. It's still generating a few errors behind the scenes after you stop and start the game if controllers are waiting to reconnect. I'm trying to decide how best to deal with that and trying to decide how compatible to keep it with the previous system In any case please give it a try using the steps listed above |
I built a game with HappyFunTimes using unity and I don't know how to run a build? Works fine in the Unity editor, though.
I get the following when I point my controller to "happyfuntimes.net"
TypeError: Cannot read property 'originalGameId' of undefined
at handleHappyFunTimesPingRequest ...
If I go straight to the ip address nothing happens just stays at "Waiting for game ..."
It's a OSX Build, btw.
Thanks. :)
The text was updated successfully, but these errors were encountered: