tag:blogger.com,1999:blog-3020905081817426674.post1101818957097825588..comments2023-08-08T16:57:35.492+02:00Comments on PJ's AI and Other Dev: Improving Performance of my Unity3D HTN-Planner (CUHP) with MultithreadingAnonymoushttp://www.blogger.com/profile/15339717706717119233noreply@blogger.comBlogger10125tag:blogger.com,1999:blog-3020905081817426674.post-28337320712147533122016-06-29T10:46:44.097+02:002016-06-29T10:46:44.097+02:00Your blog has given me that thing which I never ex...Your blog has given me that thing which I never expect to get from all over the websites. Nice post guys!<br />melbourne web developerhttp://www.papdan.com/noreply@blogger.comtag:blogger.com,1999:blog-3020905081817426674.post-86908605930641483682016-01-26T21:57:31.325+01:002016-01-26T21:57:31.325+01:00Sorry for the late response, I've been busy wi...Sorry for the late response, I've been busy with other things.<br /><br />Yes that's true. I don't think I'll ever try to remove Reflections from my code though, but maybe someone else is willing to give it a try.Anonymoushttps://www.blogger.com/profile/15339717706717119233noreply@blogger.comtag:blogger.com,1999:blog-3020905081817426674.post-10575864505957307332016-01-26T21:56:07.074+01:002016-01-26T21:56:07.074+01:00Sorry for the late response, I've been busy wi...Sorry for the late response, I've been busy with other things.<br /><br />You're right. I might change the links later. In the meantime, you can still find the code here: http://answers.unity3d.com/questions/662891/loom-initialise-per-app-per-scene-or-.html And the same code reworked into an EditorWindow here: http://answers.unity3d.com/questions/305882/how-do-i-invoke-functions-on-the-main-thread.htmlAnonymoushttps://www.blogger.com/profile/15339717706717119233noreply@blogger.comtag:blogger.com,1999:blog-3020905081817426674.post-48085831014617415282015-10-26T18:22:49.918+01:002015-10-26T18:22:49.918+01:00Hello! How do you work with incorrect non-primitiv...Hello! How do you work with incorrect non-primitive task-tree decomposition, when you have locally correct subtrees, but they do not accomplish their main parent task?<br />Here is an example (subtask "sell fossil" selected and it's locally correct, but it's incorrect for the main task): https://drive.google.com/open?id=0B9r8URxV2xZzeUtMbHhXUzRKNUUBelfegnarhttps://www.blogger.com/profile/00636492632842010936noreply@blogger.comtag:blogger.com,1999:blog-3020905081817426674.post-43188549045379469632015-07-23T18:56:05.683+02:002015-07-23T18:56:05.683+02:00The only feedbackI can offer is that Reflections i...The only feedbackI can offer is that Reflections isn't supported for iOS so it can't be used for iPhone/iPad. Anthony Rosenbaumhttps://www.blogger.com/profile/07470273352614974234noreply@blogger.comtag:blogger.com,1999:blog-3020905081817426674.post-89479678348039205562015-01-09T01:30:35.821+01:002015-01-09T01:30:35.821+01:00Umm the link to the original multi threading is br...Umm the link to the original multi threading is broken sir you may want to delete it because it seems the site is gone for ever :/Anonymoushttps://www.blogger.com/profile/17473755385332414412noreply@blogger.comtag:blogger.com,1999:blog-3020905081817426674.post-57776231779016693922014-12-16T10:24:04.566+01:002014-12-16T10:24:04.566+01:00This comment has been removed by a blog administrator.Artificial intelligence softwarehttp://makoprogram.net/packages.htmlnoreply@blogger.comtag:blogger.com,1999:blog-3020905081817426674.post-9930792543491847672014-10-09T16:26:13.894+02:002014-10-09T16:26:13.894+02:00Also using try{}catch{} in all my methods/operator...Also using try{}catch{} in all my methods/operators I found rather necessary. Because Unity3d wasn't reporting to me any exceptions from there (making debugging unnecessary complicated).Anonymoushttps://www.blogger.com/profile/11094588166454638496noreply@blogger.comtag:blogger.com,1999:blog-3020905081817426674.post-43186056088313952282014-10-09T16:13:35.323+02:002014-10-09T16:13:35.323+02:00I found that adding these few simple lines in HTNP...I found that adding these few simple lines in HTNPlanner.cs:<br /><br />#if UNITY_EDITOR<br />if( !_operators.Contains( task[0] ) && !_methods.ContainsKey( task[0] )) {<br />string errorMessage = "HTNPlanner can't find method \""+task[0]+ "\" which is expected to be found in ";<br />if (_methodsType==_operatorsType) errorMessage += _methodsType.ToString();<br />else errorMessage += _methodsType.ToString()+" or "+_operatorsType.ToString();<br />Debug.LogError( errorMessage );<br />}<br />#endif<br /><br />just after line:<br /><br />List<.string> task = tasks[0];<br /><br />can save a lot of time when looking for possible causes for planner returning null.<br />Anonymoushttps://www.blogger.com/profile/11094588166454638496noreply@blogger.comtag:blogger.com,1999:blog-3020905081817426674.post-58143736951803753442014-09-13T22:20:39.959+02:002014-09-13T22:20:39.959+02:00This comment has been removed by the author.Anonymoushttps://www.blogger.com/profile/11094588166454638496noreply@blogger.com