{"id":7602,"date":"2019-01-13T18:00:48","date_gmt":"2019-01-13T18:00:48","guid":{"rendered":"http:\/\/phoenixgamedevelopment.com\/blog\/?p=7602"},"modified":"2019-01-13T18:01:57","modified_gmt":"2019-01-13T18:01:57","slug":"p0-a3-part-506-persistent-server-refactor","status":"publish","type":"post","link":"https:\/\/phoenixgamedevelopment.com\/blog\/p0-a3-part-506-persistent-server-refactor\/","title":{"rendered":"P0-A3: Part 506: Persistent Server Refactor"},"content":{"rendered":"<p>I have added a conceptual system to allow objects to be loaded into and out of the scene with very, very little framerate impact.<\/p>\n<p>This is a powerful ability, and I should be able to use this to create a proper paging system for the first time.<\/p>\n<p>I will need to modify my existing paging system, and overhaul quite a bit of it, which will take time. My current setup is complex, and needs to handle multiple object types. <\/p>\n<p>For example, I don&#8217;t want player-controllable objects to be paged out, even if they are out of range. I also want to instantiate\/destroy simple objects, and just use loadsceneasync for complex ones.<\/p>\n<p>Loadsceneasync will also allow me to get around the 4GB resource file limit in unity. I was having an issue with my unity builds that was caused by an asset file that was too large. Splitting this into multiple scenes solves this issue.<\/p>\n<p><a href=\"https:\/\/imgur.com\/J90Ig6O\"><img decoding=\"async\" src=\"https:\/\/i.imgur.com\/J90Ig6Om.png\" title=\"source: imgur.com\" \/><\/a><br \/>\n<a href=\"https:\/\/imgur.com\/QU4OltK\"><img decoding=\"async\" src=\"https:\/\/i.imgur.com\/QU4OltKm.png\" title=\"source: imgur.com\" \/><\/a><br \/>\n<a href=\"https:\/\/imgur.com\/NlBIemI\"><img decoding=\"async\" src=\"https:\/\/i.imgur.com\/NlBIemIm.png\" title=\"source: imgur.com\" \/><\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>I have added a conceptual system to allow objects to be loaded into and out of the scene with very, very little framerate impact. This is a powerful ability, and I should be able to use this to create a proper paging system for the first time. I will need to modify my existing paging [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[18,3,17,10,11],"tags":[],"class_list":["post-7602","post","type-post","status-publish","format-standard","hentry","category-a3","category-astral-realms","category-p-0","category-software-and-games","category-spiritus-astrum","has-post-title","has-post-date","has-post-category","has-post-tag","has-post-comment","has-post-author",""],"aioseo_notices":[],"builder_content":"","_links":{"self":[{"href":"https:\/\/phoenixgamedevelopment.com\/blog\/wp-json\/wp\/v2\/posts\/7602"}],"collection":[{"href":"https:\/\/phoenixgamedevelopment.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/phoenixgamedevelopment.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/phoenixgamedevelopment.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/phoenixgamedevelopment.com\/blog\/wp-json\/wp\/v2\/comments?post=7602"}],"version-history":[{"count":3,"href":"https:\/\/phoenixgamedevelopment.com\/blog\/wp-json\/wp\/v2\/posts\/7602\/revisions"}],"predecessor-version":[{"id":7606,"href":"https:\/\/phoenixgamedevelopment.com\/blog\/wp-json\/wp\/v2\/posts\/7602\/revisions\/7606"}],"wp:attachment":[{"href":"https:\/\/phoenixgamedevelopment.com\/blog\/wp-json\/wp\/v2\/media?parent=7602"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/phoenixgamedevelopment.com\/blog\/wp-json\/wp\/v2\/categories?post=7602"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/phoenixgamedevelopment.com\/blog\/wp-json\/wp\/v2\/tags?post=7602"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}