|
Post by patacrepe on Apr 14, 2015 21:04:05 GMT
Hi to all, I'm using honey hex framework within Unity web player and I've got some trouble (My bad, I havent check it was compatible before buying it ) ... I was able to compile it by changing MHDatabase.cs (using "www" instead of "System.IO") and updated A* component. But still have trouble while launching my app : "MethodAccessException : Attempt to access a private/protected method failed" ... And it's time to go to bed ... Did someone already solve this problem and agree to share the solution ? It could avoid me some headache . Thanks a lot,
|
|
|
Post by khash on Apr 15, 2015 9:14:29 GMT
Hmm can you drop some more info about what triggers this issue? Maybe rest of the message you receive would help? I'm not aware of anything what could cause your issue. You have to remember that Unity Web does not work with native libraries if you have any (Honey shouldn't need any of them, but you could have some references in your code)
|
|
|
Post by patacrepe on Apr 15, 2015 16:59:47 GMT
Hi and thanks for your answer, You will find the detailed exception in the attachment. I use another scene from this project in player without any trouble. I'm still working on it, maybe more info until my bed time regards Attachments:
|
|
|
Post by khash on Apr 16, 2015 7:45:35 GMT
Ok so it is a system which in case of having none gameSettings saved for the quality options it creates one. But for this purpose it tries to access streaming assets and save it there. Because you are in web player it is forbidden. You would need to either stop this code from creation of those settings (it would fall back to hardcoded defaults) or produce file by starting honey in editor and then switch to web player which would have file with produced quality settings. Note that switching quality settings later to one which was not generated in the editor would ask for new record adn try to save it for you in streaming assets. So you should play honey in all required quality settings one by one if you want it to produce settings for web player properly.
Hope this helps! Cheers!
|
|
|
Post by patacrepe on Apr 16, 2015 19:19:32 GMT
Hi and thanks again, youre solution works for this particular point but no map load, obviously no map save ... I will try to redirect all db save or load to the host programm using externalcall or maybe let my host program manage himself the data telling to unity, after a blank generate, hex by hex what definition to use.
Althought Its a pleasure to use honey hex framework, it's a great program !
regards
|
|