{"id":10024,"date":"2019-02-05T12:28:41","date_gmt":"2019-02-05T17:28:41","guid":{"rendered":"http:\/\/benies-blogs.com\/games\/?p=10024"},"modified":"2019-02-08T15:48:19","modified_gmt":"2019-02-08T20:48:19","slug":"someone-really-likes-me-more-bug-testing-fixing-with-btd","status":"publish","type":"post","link":"http:\/\/benies-blogs.com\/games\/2019\/02\/05\/someone-really-likes-me-more-bug-testing-fixing-with-btd\/","title":{"rendered":"More bug testing\/fixing with BTD"},"content":{"rendered":"<p>Oh look, yet another bug report for BTD. Honestly, I wish I could stop making these. But Unity won&#8217;t stop fudging up my plans. One of these bugs I recently noticed.. don&#8217;t even know how nor when it started (because it only happens ingame), but I <em>do<\/em> know how it can be fixed. However, that fix might make texturing this certain thing, impossible.<\/p>\n<p>Anyway, there&#8217;s four bugs I&#8217;ve noticed. Let&#8217;s get to them, shall we?<br \/>\n<strong>BUG #1:<\/strong> Eye tracking shader acting like a mirror on certain worlds.<br \/>\n<strong>STATUS:<\/strong> Squished<br \/>\nBut actually there&#8217;s a bit more than this. I actually got the help I so desperately needed. Went to the gang, showed Azure (the one that told me about the eye shader and how it works without needing Blender), and she started laughing hysterically. Then it&#8217;s like everyone&#8217;s staring at me, and I&#8217;m all &#8220;don&#8217;t look at me, I&#8217;m ugly!!&#8221; Heheheh.<br \/>\nSarge is the one that gave me the help I needed (in a sense). Basically, he told me where I had been screwing up (and telling me to make an emission for it), but that&#8217;s about it. He had me figure out the rest on my own. And in ways, I&#8217;m glad he did. Because I learned a lot, just by playing around. When I&#8217;m desperate enough to know how something<br \/>\nworks (and feel it&#8217;s doable), I <em>will<\/em> eventually learn how to do it. Those specific conditions have to be met.<br \/>\nAnd this is the result;<br \/>\n<img decoding=\"async\" src=\"https:\/\/i.imgur.com\/JqOwAld.png\" \/><br \/>\nThough I no longer get that cool &#8220;I stare at you&#8221; look, the eyes <strong>definitely<\/strong> look a lot better when you stare at it from the front! On top of it, I finally figured out how to remove the reflection. It was the cubemap causing it, so I created my own. Easier than I thought, too.<br \/>\n&#8211;<br \/>\n<strong>BUG #2:<\/strong> Firebreath emote not working with a fixed joint.<br \/>\n<strong>STATUS:<\/strong> (Finally) squished!<br \/>\nWhat I thought was &#8220;so easy&#8221; to fix, turned out to be a bug that I had to beg for help from the VRChat Discord. Though the animation itself wasn&#8217;t the issue, the fixed joint was.<br \/>\nDuring the testing (the same time I was testing the eyes), I had noticed the firebreath not exactly at the avatar&#8217;s mouth.. but on the floor and at an angle.<br \/>\nFor the longest time, I was perplexed of the reason why the Fixed Joint script wasn&#8217;t allowing me to set it to the Head. I finally fixed this by forgetting the head bone, needs its own RigidBody script for the fixed joint to &#8216;latch onto&#8217;.<br \/>\nYet the firebreath emote still wasn&#8217;t showing up at the mouth. Even the VRChat Discord couldn&#8217;t figure it out. Later on (finally), the solution revealed itself; it was the placement of the GameObject. It has to be at the bottom of the avatar, to serve as an &#8216;anchor&#8217; for the particle system.<br \/>\nFor the longest time, I thought it had to be where the particle system was (as that made sense to me). But Unity, <em><strong>makes<\/strong> no sense<\/em>! lol..<br \/>\nWhatever!! It works now! God DAMN you Unity, sometimes. \ud83d\ude1b<\/p>\n<p>&#8211;<br \/>\n<strong>BUG #3:<\/strong> Right hand claws can be seen through.<br \/>\n<strong>STATUS:<\/strong> Squished<br \/>\nThis was a rather interesting bug. Left hand, looked perfectly fine.<br \/>\nRight hand? Different story.<br \/>\n<img decoding=\"async\" src=\"https:\/\/i.imgur.com\/A2q9dHB.png\" \/><br \/>\nLooking directly at the claws, I see a hole. Clearly there&#8217;s a texture issue. Yet looking at the sheets, I didn&#8217;t see an issue. See how interesting it was to fix?<br \/>\nThe solution might surprise you;<br \/>\n<img decoding=\"async\" src=\"https:\/\/i.imgur.com\/Sxt84fA.png\" \/><br \/>\nThis is the Body mesh of the avatar. Controls what textures will show. And for some reason, there&#8217;s four of them. Why..? Hell if I know, I&#8217;m not Kaelygon. But apparently I have to have all four, in order to even get the claws to show up. That is utterly stupid.<br \/>\nBut, whatever. And the reason the right hand&#8217;s claws were one-sided, is the bottom two were using the standard FlatLitToon shader (instead of Naito&#8217;s scale shader).<br \/>\n#KaleygonLogic<\/p>\n<p>&#8211;<br \/>\nBUG #4: Fake Dutchie tail not connecting to real tail in worlds, yet works in Unity<br \/>\nSTATUS: <em>Unknown&#8230;<\/em><br \/>\nThis here is the biggest bug, and was referenced at the top of this post. As stated, it works fine in Unity. But ingame&#8230;<br \/>\n<img decoding=\"async\" src=\"https:\/\/i.imgur.com\/MGPtE9n.png\" \/><br \/>\n<img decoding=\"async\" src=\"https:\/\/i.imgur.com\/dhiIhpd.png\" \/><br \/>\nSorry for the dark images, I was in the world &#8216;The Box&#8217; when seeing if this issue was only on one world. That world is named &#8216;Moody&#8217;, where I first noticed the bug.<br \/>\nThe problem is the fake tail&#8217;s not attached to the real tail. Again, it&#8217;s working fine in Unity, and it also works fine (ingame) with BTDB.<br \/>\nAt first, I thought I was the only one seeing this issue. I literally had to ask others to look, and they too saw it, confirming it&#8217;s not just me.<br \/>\nOne told me &#8220;it&#8217;s a Rigidbody&#8221;, which got me thinking if this would be similar to the thing that makes the firebreath emote work with the fixed joint. I personally don&#8217;t think it&#8217;s going to work, but it&#8217;s worth a shot.<\/p>\n<p>.<br \/>\nAnd that&#8217;s all the known bugs with this model. So far, 3 of the 4 have been squished. Once every single bug is squished (and I&#8217;m satisfied with the results), I&#8217;ll likely be replacing BTDB with this.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Oh look, yet another bug report for BTD. Honestly, I wish I could stop making these. But Unity won&#8217;t stop fudging up my plans. One of these bugs I recently noticed.. don&#8217;t even know how nor when it started (because &hellip; <a href=\"http:\/\/benies-blogs.com\/games\/2019\/02\/05\/someone-really-likes-me-more-bug-testing-fixing-with-btd\/\">Continue reading <span class=\"meta-nav\">&rarr;<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[58],"tags":[],"class_list":["post-10024","post","type-post","status-publish","format-standard","hentry","category-pc"],"_links":{"self":[{"href":"http:\/\/benies-blogs.com\/games\/wp-json\/wp\/v2\/posts\/10024","targetHints":{"allow":["GET"]}}],"collection":[{"href":"http:\/\/benies-blogs.com\/games\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/benies-blogs.com\/games\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/benies-blogs.com\/games\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"http:\/\/benies-blogs.com\/games\/wp-json\/wp\/v2\/comments?post=10024"}],"version-history":[{"count":6,"href":"http:\/\/benies-blogs.com\/games\/wp-json\/wp\/v2\/posts\/10024\/revisions"}],"predecessor-version":[{"id":10037,"href":"http:\/\/benies-blogs.com\/games\/wp-json\/wp\/v2\/posts\/10024\/revisions\/10037"}],"wp:attachment":[{"href":"http:\/\/benies-blogs.com\/games\/wp-json\/wp\/v2\/media?parent=10024"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/benies-blogs.com\/games\/wp-json\/wp\/v2\/categories?post=10024"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/benies-blogs.com\/games\/wp-json\/wp\/v2\/tags?post=10024"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}