{"id":1691,"date":"2026-06-21T20:02:36","date_gmt":"2026-06-21T11:02:36","guid":{"rendered":"https:\/\/sheltie-garage.xyz\/tech\/?p=1691"},"modified":"2026-06-21T20:04:13","modified_gmt":"2026-06-21T11:04:13","slug":"unity6-5-getinstanceid%e3%82%92%e3%81%a9%e3%81%86%e3%81%99%e3%82%8b%ef%bc%9f","status":"publish","type":"post","link":"https:\/\/sheltie-garage.xyz\/tech\/2026\/06\/unity6-5-getinstanceid%e3%82%92%e3%81%a9%e3%81%86%e3%81%99%e3%82%8b%ef%bc%9f\/","title":{"rendered":"Unity6.5 GetInstanceID\u3092\u3069\u3046\u3059\u308b\uff1f"},"content":{"rendered":"\n<p class=\"wp-block-paragraph\">Unity6.5\u304b\u3089GetInstanceID\u304c\u5ec3\u6b62(obsolute)\u3068\u306a\u308a\u3001\u30b3\u30f3\u30d1\u30a4\u30eb\u30a8\u30e9\u30fc\u304c\u767a\u751f\u3059\u308b\u3088\u3046\u306b\u306a\u308a\u307e\u3057\u305f<br>\u81ea\u5206\u304c\u5229\u7528\u3057\u3066\u3044\u308b\u30a2\u30bb\u30c3\u30c8\u306e\u4e00\u90e8\u3067GetInstanceID\u304c\u5229\u7528\u3055\u308c\u3066\u3044\u308b\u7b87\u6240\u304c\u3042\u308a\u3001\u30b3\u30f3\u30d1\u30a4\u30eb\u30a8\u30e9\u30fc\u306b\u3088\u308a\u30d7\u30ed\u30b8\u30a7\u30af\u30c8\u304c\u30d3\u30eb\u30c9\u3067\u304d\u306a\u304f\u306a\u3063\u305f\u305f\u3081\u4fee\u6b63\u3092\u884c\u3044\u307e\u3057\u305f<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">\u4ee5\u4e0b\u306f\u30a8\u30e9\u30fc\u30e1\u30c3\u30bb\u30fc\u30b8\u306e\u4f8b\u3067\u3059<\/p>\n\n\n\n<div class=\"hcb_wrap\"><pre class=\"prism line-numbers lang-plain\"><code>Assets\\HurricaneVR\\Framework\\Scripts\\Core\\Utils\\EditorExtensions.cs(14,51): error CS0619: &#39;Object.GetInstanceID()&#39; is obsolete: &#39;GetInstanceID is deprecated. Use GetEntityId instead. This will be removed in a future version.&#39;<\/code><\/pre><\/div>\n\n\n\n<h2 class=\"wp-block-heading\">GetEntityId\u306b\u7f6e\u304d\u63db\u3048\u308c\u3070\u826f\u3044\u30fb\u30fb\u30fb\u306e\u3060\u3051\u3069<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">GetInstanceId\u306b\u4ee3\u308f\u308b\u30e1\u30bd\u30c3\u30c9\u3068\u3057\u3066\u3001\u300cGetEntityId\u300d\u304c\u6e96\u5099\u3055\u308c\u3066\u3044\u307e\u3059<br>\u305f\u3060\u3001GetInstanceID\u3068GetEntityId\u3067<strong>\u623b\u308a\u5024\u306e\u578b\u304c\u5909\u66f4\u3055\u308c\u3066\u3044\u307e\u3059<\/strong><\/p>\n\n\n\n<p class=\"wp-block-paragraph\">GetInstanceID\u2192int\u578b\u304c\u623b\u308a\u5024<br>GetEntityId\u2192EntityId\u578b\u304c\u623b\u308a\u5024<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">\u5358\u7d14\u306a\u7f6e\u304d\u63db\u3048\u3067\u306f\u306a\u304f\u3001\u30b1\u30fc\u30b9\u5225\u306e\u5909\u63db\u304c\u5fc5\u8981<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">\u81ea\u5206\u306e\u30d7\u30ed\u30b8\u30a7\u30af\u30c8\u3067\u306f\u4ee5\u4e0b\u306e\u3088\u3046\u306a\u30b1\u30fc\u30b9\u304c\u3042\u308a\u307e\u3057\u305f<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">\u30b1\u30fc\u30b91:int\u578b\u3092\u53d7\u3051\u53d6\u308b\u5834\u5408<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">\u65e2\u5b58\u30b3\u30fc\u30c9\u304cint\u578b\u3092\u53d7\u3051\u53d6\u308b\u5834\u5408\u3001EntityId\u3092int\u578b\u306b\u5909\u63db\u3059\u308b\u5fc5\u8981\u304c\u3042\u308a\u307e\u3059<br>\u81ea\u5206\u306fGetHashCode\u3092\u5229\u7528\u3057\u307e\u3057\u305f\u304c\u3001\u30cf\u30c3\u30b7\u30e5\u5024\u306e\u885d\u7a81\u304c\u8a31\u3055\u308c\u306a\u3044\u30b7\u30b9\u30c6\u30e0\u306e\u5834\u5408\u3001\u5225\u306e\u65b9\u6cd5\u3092\u5229\u7528\u3059\u308b\u5fc5\u8981\u304c\u3042\u308a\u307e\u3059<\/p>\n\n\n\n<div class=\"hcb_wrap\"><pre class=\"prism line-numbers lang-plain\"><code>int instanceId = rb.GetInstanceID(); \u2190 obsolete\n\u2193\nint instanceId = rb.GetEntityId().GetHashCode(); \u2190 \u4fee\u6b63\u5f8c<\/code><\/pre><\/div>\n\n\n\n<h3 class=\"wp-block-heading\">\u30b1\u30fc\u30b92:\u30c7\u30a3\u30af\u30b7\u30e7\u30ca\u30ea\u578b\u306e\u30ad\u30fc\u3068\u3057\u3066\u5229\u7528\u3055\u308c\u308b\u5834\u5408<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">\u30c7\u30a3\u30af\u30b7\u30e7\u30ca\u30ea\u578b\u306e\u30ad\u30fc\u3068\u3057\u3066\u4f7f\u7528\u3055\u308c\u308b\u5834\u5408\u3001\u6587\u5b57\u5217\u9023\u7d50\u3067\u5bfe\u5fdc\u3057\u307e\u3057\u305f<\/p>\n\n\n\n<div class=\"hcb_wrap\"><pre class=\"prism line-numbers lang-plain\"><code>_leftInstanceId = &quot;LeftPreview_&quot; + target.GetInstanceID(); \u2190 obsolete\n_rightInstanceId = &quot;RightPreview_&quot; + target.GetInstanceID(); \u2190 obsolete\n_bodyId = &quot;Body_&quot; + target.GetInstanceID(); \u2190 obsolete\n\u2193\n_leftInstanceId = &quot;LeftPreview_&quot; + target.GetEntityId(); \u2190 \u4fee\u6b63\u5f8c\n_rightInstanceId = &quot;RightPreview_&quot; + target.GetEntityId(); \u2190 \u4fee\u6b63\u5f8c\n_bodyId = &quot;Body_&quot; + target.GetEntityId(); \u2190 \u4fee\u6b63\u5f8c<\/code><\/pre><\/div>\n\n\n\n<h3 class=\"wp-block-heading\">\u30b1\u30fc\u30b93:\u30aa\u30fc\u30d0\u30fc\u30ed\u30fc\u30c9\u3067\u5bfe\u5fdc\u3067\u304d\u308b\u5834\u5408<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">\u30e1\u30bd\u30c3\u30c9\u306b\u3088\u3063\u3066\u306f\u30aa\u30fc\u30d0\u30fc\u30ed\u30fc\u30c9\u306b\u3088\u308a\u3001EntityId\u304c\u305d\u306e\u307e\u307e\u5f15\u6570\u3068\u3057\u3066\u5229\u7528\u3067\u304d\u308b\u5834\u5408\u304c\u3042\u308a\u307e\u3059<\/p>\n\n\n\n<div class=\"hcb_wrap\"><pre class=\"prism line-numbers lang-plain\"><code>var path = AssetDatabase.GetAssetPath(so.GetInstanceID()); \u2190 obsolete\n\u2193\nvar path = AssetDatabase.GetAssetPath(so); \u2190 \u4fee\u6b63\u5f8c<\/code><\/pre><\/div>\n\n\n\n<h2 class=\"wp-block-heading\">\u4ee5\u4e0a\u3067\u3059<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">\u4ee5\u4e0a\u304c\u81ea\u5206\u306e\u30d7\u30ed\u30b8\u30a7\u30af\u30c8\u3067\u767a\u751f\u3057\u305fGetInstanceId\u306e\u4fee\u6b63\u5185\u5bb9\u306b\u306a\u308a\u307e\u3059<br>\u5229\u7528\u30e1\u30bd\u30c3\u30c9\u306e\u5909\u66f4\u3060\u3051\u3067\u3042\u308c\u3070\u5bfe\u51e6\u306f\u7c21\u5358\u306a\u306e\u3067\u3059\u304c\u3001\u623b\u308a\u5024\u306e\u578b\u3082\u5909\u308f\u3063\u3066\u3044\u308b\u305f\u3081\u3001\u30b3\u30fc\u30c9\u306b\u3088\u3063\u3066\u5bfe\u5fdc\u65b9\u6cd5\u304c\u5206\u304b\u308c\u308b\u53ef\u80fd\u6027\u304c\u3042\u308a\u307e\u3059<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">\u305d\u306e\u305f\u3081\u3001Unity6.4\u3067\u958b\u767a\u3092\u884c\u3063\u3066\u3044\u3066\u3001\u7279\u306b\u7406\u7531\u304c\u306a\u3051\u308c\u3070\u7121\u7406\u306bUnity6.5\u3078\u306e\u30a2\u30c3\u30d7\u30b0\u30ec\u30fc\u30c9\u3092\u884c\u308f\u306a\u3044\u3053\u3068\u3082\u4e00\u3064\u306e\u6226\u7565\u3067\u3059<\/p>\n\n\n<div id=\"rinkerid1588\" class=\"yyi-rinker-contents  yyi-rinker-postid-1588 yyi-rinker-img-m yyi-rinker-catid-3 \">\n\t<div class=\"yyi-rinker-box\">\n\t\t<div class=\"yyi-rinker-image\">\n\t\t\t\t\t\t\t<a href=\"https:\/\/af.moshimo.com\/af\/c\/click?a_id=3394378&#038;p_id=54&#038;pc_id=54&#038;pl_id=616&#038;url=https%3A%2F%2Fsearch.rakuten.co.jp%2Fsearch%2Fmall%2FUnity%2F%3Ff%3D1%26grp%3Dproduct\" rel=\"nofollow\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/thumbnail.image.rakuten.co.jp\/@0_mall\/book\/cabinet\/0796\/9784295200796.jpg?_ex=128x128\" width=\"128\" height=\"128\" class=\"yyi-rinker-main-img\" style=\"border: none;\"><\/a><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/i.moshimo.com\/af\/i\/impression?a_id=3394378&amp;p_id=54&amp;pc_id=54&amp;pl_id=616\" width=\"1\" height=\"1\" style=\"border:none;\">\t\t\t\t\t<\/div>\n\t\t<div class=\"yyi-rinker-info\">\n\t\t\t<div class=\"yyi-rinker-title\">\n\t\t\t\t\t\t\t\t\t<a href=\"https:\/\/af.moshimo.com\/af\/c\/click?a_id=3394378&#038;p_id=54&#038;pc_id=54&#038;pl_id=616&#038;url=https%3A%2F%2Fsearch.rakuten.co.jp%2Fsearch%2Fmall%2FUnity%2F%3Ff%3D1%26grp%3Dproduct\" rel=\"nofollow\">Unity\u3067\u306f\u3058\u3081\u308bC#\u3000\u57fa\u790e\u7de8\u3000\u6539\u8a02\u7248<\/a><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/i.moshimo.com\/af\/i\/impression?a_id=3394378&amp;p_id=54&amp;pc_id=54&amp;pl_id=616\" width=\"1\" height=\"1\" style=\"border:none;\">\t\t\t\t\t\t\t<\/div>\n\t\t\t<div class=\"yyi-rinker-detail\">\n\t\t\t\t\t\t\t<div class=\"credit-box\">created by&nbsp;<a href=\"https:\/\/oyakosodate.com\/rinker\/\" rel=\"nofollow noopener\" target=\"_blank\" >Rinker<\/a><\/div>\n\t\t\t\t\t\t\t\t\t\t<div class=\"price-box\">\n\t\t\t\t\t\t\t<span title=\"\" class=\"price\">\u00a52,860<\/span>\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<span class=\"price_at\">(2026\/06\/21 20:01:17\u6642\u70b9&nbsp;\u697d\u5929\u5e02\u5834\u8abf\u3079-<\/span><span title=\"\u3053\u306e\u30b5\u30a4\u30c8\u3067\u63b2\u8f09\u3055\u308c\u3066\u3044\u308b\u60c5\u5831\u306f\u5f53\u30b5\u30a4\u30c8\u306e\u4f5c\u6210\u8005\u306b\u3088\u308a\u904b\u55b6\u3055\u308c\u3066\u3044\u307e\u3059\u3002\u4fa1\u683c\u3001\u8ca9\u58f2\u53ef\u80fd\u60c5\u5831\u306f\u3001\u5909\u66f4\u3055\u308c\u308b\u5834\u5408\u304c\u3042\u308a\u307e\u3059\u3002\u8cfc\u5165\u6642\u306b\u697d\u5929\u5e02\u5834\u5e97\u8217\uff08www.rakuten.co.jp\uff09\u306b\u8868\u793a\u3055\u308c\u3066\u3044\u308b\u4fa1\u683c\u304c\u305d\u306e\u5546\u54c1\u306e\u8ca9\u58f2\u306b\u9069\u7528\u3055\u308c\u307e\u3059\u3002\">\u8a73\u7d30)<\/span>\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t\t\t<\/div>\n\t\t\t\t\t\t<ul class=\"yyi-rinker-links\">\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t                    <li class=\"amazonlink\">\n\t\t\t\t\t\t<a href=\"https:\/\/www.amazon.co.jp\/gp\/search?ie=UTF8&amp;keywords=Unity&amp;tag=monodon-22&amp;index=blended&amp;linkCode=ure&amp;creative=6339\" rel=\"nofollow\" class=\"yyi-rinker-link\">Amazon<\/a>\t\t\t\t\t<\/li>\n\t\t\t\t\t\t\t\t\t\t\t\t\t<li class=\"rakutenlink\">\n\t\t\t\t\t\t<a href=\"https:\/\/af.moshimo.com\/af\/c\/click?a_id=3394378&amp;p_id=54&amp;pc_id=54&amp;pl_id=616&amp;url=https%3A%2F%2Fsearch.rakuten.co.jp%2Fsearch%2Fmall%2FUnity%2F%3Ff%3D1%26grp%3Dproduct\" rel=\"nofollow\" class=\"yyi-rinker-link\">\u697d\u5929\u5e02\u5834<\/a><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/i.moshimo.com\/af\/i\/impression?a_id=3394378&amp;p_id=54&amp;pc_id=54&amp;pl_id=616\" width=\"1\" height=\"1\" style=\"border:none;\">\t\t\t\t\t<\/li>\n\t\t\t\t\t\t\t\t\t\t\t\t\t<li class=\"yahoolink\">\n\t\t\t\t\t\t<a href=\"https:\/\/af.moshimo.com\/af\/c\/click?a_id=3442618&amp;p_id=1225&amp;pc_id=1925&amp;pl_id=18502&amp;url=https%3A%2F%2Fshopping.yahoo.co.jp%2Fsearch%3Fp%3DUnity\" rel=\"nofollow\" class=\"yyi-rinker-link\">Yahoo\u30b7\u30e7\u30c3\u30d4\u30f3\u30b0<\/a><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/i.moshimo.com\/af\/i\/impression?a_id=3442618&amp;p_id=1225&amp;pc_id=1925&amp;pl_id=18502\" width=\"1\" height=\"1\" style=\"border:none;\">\t\t\t\t\t<\/li>\n\t\t\t\t                \t\t\t\t\t\t\t\t\t\t\t<\/ul>\n\t\t\t\t\t<\/div>\n\t<\/div>\n<\/div>\n\n\n<div id=\"rinkerid1692\" class=\"yyi-rinker-contents  yyi-rinker-postid-1692 yyi-rinker-img-m yyi-rinker-catid-3 \">\n\t<div class=\"yyi-rinker-box\">\n\t\t<div class=\"yyi-rinker-image\">\n\t\t\t\t\t\t\t<a href=\"https:\/\/af.moshimo.com\/af\/c\/click?a_id=3394378&#038;p_id=54&#038;pc_id=54&#038;pl_id=616&#038;url=https%3A%2F%2Fsearch.rakuten.co.jp%2Fsearch%2Fmall%2FUnity6%2F%3Ff%3D1%26grp%3Dproduct\" rel=\"nofollow\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/thumbnail.image.rakuten.co.jp\/@0_mall\/bookfan\/cabinet\/01135\/bk4798074322.jpg?_ex=128x128\" width=\"128\" height=\"128\" class=\"yyi-rinker-main-img\" style=\"border: none;\"><\/a><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/i.moshimo.com\/af\/i\/impression?a_id=3394378&amp;p_id=54&amp;pc_id=54&amp;pl_id=616\" width=\"1\" height=\"1\" style=\"border:none;\">\t\t\t\t\t<\/div>\n\t\t<div class=\"yyi-rinker-info\">\n\t\t\t<div class=\"yyi-rinker-title\">\n\t\t\t\t\t\t\t\t\t<a href=\"https:\/\/af.moshimo.com\/af\/c\/click?a_id=3394378&#038;p_id=54&#038;pc_id=54&#038;pl_id=616&#038;url=https%3A%2F%2Fsearch.rakuten.co.jp%2Fsearch%2Fmall%2FUnity6%2F%3Ff%3D1%26grp%3Dproduct\" rel=\"nofollow\">\u3010\u9001\u6599\u7121\u6599\u3011\u898b\u3066\u308f\u304b\u308bUnity6\u8d85\u5165\u9580\uff0f\u638c\u7530\u6d25\u8036\u4e43<\/a><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/i.moshimo.com\/af\/i\/impression?a_id=3394378&amp;p_id=54&amp;pc_id=54&amp;pl_id=616\" width=\"1\" height=\"1\" style=\"border:none;\">\t\t\t\t\t\t\t<\/div>\n\t\t\t<div class=\"yyi-rinker-detail\">\n\t\t\t\t\t\t\t<div class=\"credit-box\">created by&nbsp;<a href=\"https:\/\/oyakosodate.com\/rinker\/\" rel=\"nofollow noopener\" target=\"_blank\" >Rinker<\/a><\/div>\n\t\t\t\t\t\t\t\t\t\t<div class=\"price-box\">\n\t\t\t\t\t\t\t<span title=\"\" class=\"price\">\u00a52,970<\/span>\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<span class=\"price_at\">(2026\/6\/21 20:01:36\u6642\u70b9&nbsp;\u697d\u5929\u5e02\u5834\u8abf\u3079-<\/span><span title=\"\u3053\u306e\u30b5\u30a4\u30c8\u3067\u63b2\u8f09\u3055\u308c\u3066\u3044\u308b\u60c5\u5831\u306f\u5f53\u30b5\u30a4\u30c8\u306e\u4f5c\u6210\u8005\u306b\u3088\u308a\u904b\u55b6\u3055\u308c\u3066\u3044\u307e\u3059\u3002\u4fa1\u683c\u3001\u8ca9\u58f2\u53ef\u80fd\u60c5\u5831\u306f\u3001\u5909\u66f4\u3055\u308c\u308b\u5834\u5408\u304c\u3042\u308a\u307e\u3059\u3002\u8cfc\u5165\u6642\u306b\u697d\u5929\u5e02\u5834\u5e97\u8217\uff08www.rakuten.co.jp\uff09\u306b\u8868\u793a\u3055\u308c\u3066\u3044\u308b\u4fa1\u683c\u304c\u305d\u306e\u5546\u54c1\u306e\u8ca9\u58f2\u306b\u9069\u7528\u3055\u308c\u307e\u3059\u3002\">\u8a73\u7d30)<\/span>\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t\t\t<\/div>\n\t\t\t\t\t\t<ul class=\"yyi-rinker-links\">\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t                    <li class=\"amazonlink\">\n\t\t\t\t\t\t<a href=\"https:\/\/www.amazon.co.jp\/gp\/search?ie=UTF8&amp;keywords=Unity6&amp;tag=monodon-22&amp;index=blended&amp;linkCode=ure&amp;creative=6339\" rel=\"nofollow\" class=\"yyi-rinker-link\">Amazon<\/a>\t\t\t\t\t<\/li>\n\t\t\t\t\t\t\t\t\t\t\t\t\t<li class=\"rakutenlink\">\n\t\t\t\t\t\t<a href=\"https:\/\/af.moshimo.com\/af\/c\/click?a_id=3394378&amp;p_id=54&amp;pc_id=54&amp;pl_id=616&amp;url=https%3A%2F%2Fsearch.rakuten.co.jp%2Fsearch%2Fmall%2FUnity6%2F%3Ff%3D1%26grp%3Dproduct\" rel=\"nofollow\" class=\"yyi-rinker-link\">\u697d\u5929\u5e02\u5834<\/a><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/i.moshimo.com\/af\/i\/impression?a_id=3394378&amp;p_id=54&amp;pc_id=54&amp;pl_id=616\" width=\"1\" height=\"1\" style=\"border:none;\">\t\t\t\t\t<\/li>\n\t\t\t\t\t\t\t\t\t\t\t\t\t<li class=\"yahoolink\">\n\t\t\t\t\t\t<a href=\"https:\/\/af.moshimo.com\/af\/c\/click?a_id=3442618&amp;p_id=1225&amp;pc_id=1925&amp;pl_id=18502&amp;url=https%3A%2F%2Fshopping.yahoo.co.jp%2Fsearch%3Fp%3DUnity6\" rel=\"nofollow\" class=\"yyi-rinker-link\">Yahoo\u30b7\u30e7\u30c3\u30d4\u30f3\u30b0<\/a><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/i.moshimo.com\/af\/i\/impression?a_id=3442618&amp;p_id=1225&amp;pc_id=1925&amp;pl_id=18502\" width=\"1\" height=\"1\" style=\"border:none;\">\t\t\t\t\t<\/li>\n\t\t\t\t                \t\t\t\t\t\t\t\t\t\t\t<\/ul>\n\t\t\t\t\t<\/div>\n\t<\/div>\n<\/div>\n","protected":false},"excerpt":{"rendered":"<p>Unity6.5\u304b\u3089GetInstanceID\u304c\u5ec3\u6b62(obsolute)\u3068\u306a\u308a\u3001\u30b3\u30f3\u30d1\u30a4\u30eb\u30a8\u30e9\u30fc\u304c\u767a\u751f\u3059\u308b\u3088\u3046\u306b\u306a\u308a\u307e\u3057\u305f\u81ea\u5206\u304c\u5229\u7528\u3057\u3066\u3044\u308b\u30a2\u30bb\u30c3\u30c8\u306e\u4e00\u90e8\u3067GetInstanceID\u304c\u5229\u7528\u3055\u308c\u3066\u3044\u308b\u7b87\u6240\u304c\u3042\u308a\u3001\u30b3\u30f3\u30d1\u30a4\u30eb [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":1693,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[3],"tags":[],"class_list":["post-1691","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-unity","entry","has-media"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v27.8 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>Unity6.5 GetInstanceID\u3092\u3069\u3046\u3059\u308b\uff1f - Sheltie Garage Tech<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/sheltie-garage.xyz\/tech\/2026\/06\/unity6-5-getinstanceid\u3092\u3069\u3046\u3059\u308b\uff1f\/\" \/>\n<meta property=\"og:locale\" content=\"ja_JP\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Unity6.5 GetInstanceID\u3092\u3069\u3046\u3059\u308b\uff1f - Sheltie Garage Tech\" \/>\n<meta property=\"og:description\" content=\"Unity6.5\u304b\u3089GetInstanceID\u304c\u5ec3\u6b62(obsolute)\u3068\u306a\u308a\u3001\u30b3\u30f3\u30d1\u30a4\u30eb\u30a8\u30e9\u30fc\u304c\u767a\u751f\u3059\u308b\u3088\u3046\u306b\u306a\u308a\u307e\u3057\u305f\u81ea\u5206\u304c\u5229\u7528\u3057\u3066\u3044\u308b\u30a2\u30bb\u30c3\u30c8\u306e\u4e00\u90e8\u3067GetInstanceID\u304c\u5229\u7528\u3055\u308c\u3066\u3044\u308b\u7b87\u6240\u304c\u3042\u308a\u3001\u30b3\u30f3\u30d1\u30a4\u30eb [&hellip;]\" \/>\n<meta property=\"og:url\" content=\"https:\/\/sheltie-garage.xyz\/tech\/2026\/06\/unity6-5-getinstanceid\u3092\u3069\u3046\u3059\u308b\uff1f\/\" \/>\n<meta property=\"og:site_name\" content=\"Sheltie Garage Tech\" \/>\n<meta property=\"article:published_time\" content=\"2026-06-21T11:02:36+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2026-06-21T11:04:13+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/sheltie-garage.xyz\/tech\/wp-content\/uploads\/2026\/06\/20260621_001.png\" \/>\n\t<meta property=\"og:image:width\" content=\"489\" \/>\n\t<meta property=\"og:image:height\" content=\"171\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/png\" \/>\n<meta name=\"author\" content=\"monodon\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"\u57f7\u7b46\u8005\" \/>\n\t<meta name=\"twitter:data1\" content=\"monodon\" \/>\n\t<meta name=\"twitter:label2\" content=\"\u63a8\u5b9a\u8aad\u307f\u53d6\u308a\u6642\u9593\" \/>\n\t<meta name=\"twitter:data2\" content=\"5\u5206\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\\\/\\\/sheltie-garage.xyz\\\/tech\\\/2026\\\/06\\\/unity6-5-getinstanceid%e3%82%92%e3%81%a9%e3%81%86%e3%81%99%e3%82%8b%ef%bc%9f\\\/#article\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/sheltie-garage.xyz\\\/tech\\\/2026\\\/06\\\/unity6-5-getinstanceid%e3%82%92%e3%81%a9%e3%81%86%e3%81%99%e3%82%8b%ef%bc%9f\\\/\"},\"author\":{\"name\":\"monodon\",\"@id\":\"https:\\\/\\\/sheltie-garage.xyz\\\/tech\\\/#\\\/schema\\\/person\\\/f67942d4a63ae93a823618fc5a09077f\"},\"headline\":\"Unity6.5 GetInstanceID\u3092\u3069\u3046\u3059\u308b\uff1f\",\"datePublished\":\"2026-06-21T11:02:36+00:00\",\"dateModified\":\"2026-06-21T11:04:13+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/sheltie-garage.xyz\\\/tech\\\/2026\\\/06\\\/unity6-5-getinstanceid%e3%82%92%e3%81%a9%e3%81%86%e3%81%99%e3%82%8b%ef%bc%9f\\\/\"},\"wordCount\":30,\"commentCount\":0,\"image\":{\"@id\":\"https:\\\/\\\/sheltie-garage.xyz\\\/tech\\\/2026\\\/06\\\/unity6-5-getinstanceid%e3%82%92%e3%81%a9%e3%81%86%e3%81%99%e3%82%8b%ef%bc%9f\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/sheltie-garage.xyz\\\/tech\\\/wp-content\\\/uploads\\\/2026\\\/06\\\/20260621_001.png\",\"articleSection\":[\"Unity\"],\"inLanguage\":\"ja\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\\\/\\\/sheltie-garage.xyz\\\/tech\\\/2026\\\/06\\\/unity6-5-getinstanceid%e3%82%92%e3%81%a9%e3%81%86%e3%81%99%e3%82%8b%ef%bc%9f\\\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/sheltie-garage.xyz\\\/tech\\\/2026\\\/06\\\/unity6-5-getinstanceid%e3%82%92%e3%81%a9%e3%81%86%e3%81%99%e3%82%8b%ef%bc%9f\\\/\",\"url\":\"https:\\\/\\\/sheltie-garage.xyz\\\/tech\\\/2026\\\/06\\\/unity6-5-getinstanceid%e3%82%92%e3%81%a9%e3%81%86%e3%81%99%e3%82%8b%ef%bc%9f\\\/\",\"name\":\"Unity6.5 GetInstanceID\u3092\u3069\u3046\u3059\u308b\uff1f - Sheltie Garage Tech\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/sheltie-garage.xyz\\\/tech\\\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\\\/\\\/sheltie-garage.xyz\\\/tech\\\/2026\\\/06\\\/unity6-5-getinstanceid%e3%82%92%e3%81%a9%e3%81%86%e3%81%99%e3%82%8b%ef%bc%9f\\\/#primaryimage\"},\"image\":{\"@id\":\"https:\\\/\\\/sheltie-garage.xyz\\\/tech\\\/2026\\\/06\\\/unity6-5-getinstanceid%e3%82%92%e3%81%a9%e3%81%86%e3%81%99%e3%82%8b%ef%bc%9f\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/sheltie-garage.xyz\\\/tech\\\/wp-content\\\/uploads\\\/2026\\\/06\\\/20260621_001.png\",\"datePublished\":\"2026-06-21T11:02:36+00:00\",\"dateModified\":\"2026-06-21T11:04:13+00:00\",\"author\":{\"@id\":\"https:\\\/\\\/sheltie-garage.xyz\\\/tech\\\/#\\\/schema\\\/person\\\/f67942d4a63ae93a823618fc5a09077f\"},\"breadcrumb\":{\"@id\":\"https:\\\/\\\/sheltie-garage.xyz\\\/tech\\\/2026\\\/06\\\/unity6-5-getinstanceid%e3%82%92%e3%81%a9%e3%81%86%e3%81%99%e3%82%8b%ef%bc%9f\\\/#breadcrumb\"},\"inLanguage\":\"ja\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/sheltie-garage.xyz\\\/tech\\\/2026\\\/06\\\/unity6-5-getinstanceid%e3%82%92%e3%81%a9%e3%81%86%e3%81%99%e3%82%8b%ef%bc%9f\\\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"ja\",\"@id\":\"https:\\\/\\\/sheltie-garage.xyz\\\/tech\\\/2026\\\/06\\\/unity6-5-getinstanceid%e3%82%92%e3%81%a9%e3%81%86%e3%81%99%e3%82%8b%ef%bc%9f\\\/#primaryimage\",\"url\":\"https:\\\/\\\/sheltie-garage.xyz\\\/tech\\\/wp-content\\\/uploads\\\/2026\\\/06\\\/20260621_001.png\",\"contentUrl\":\"https:\\\/\\\/sheltie-garage.xyz\\\/tech\\\/wp-content\\\/uploads\\\/2026\\\/06\\\/20260621_001.png\",\"width\":489,\"height\":171},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/sheltie-garage.xyz\\\/tech\\\/2026\\\/06\\\/unity6-5-getinstanceid%e3%82%92%e3%81%a9%e3%81%86%e3%81%99%e3%82%8b%ef%bc%9f\\\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"\u30db\u30fc\u30e0\",\"item\":\"https:\\\/\\\/sheltie-garage.xyz\\\/tech\\\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Unity6.5 GetInstanceID\u3092\u3069\u3046\u3059\u308b\uff1f\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/sheltie-garage.xyz\\\/tech\\\/#website\",\"url\":\"https:\\\/\\\/sheltie-garage.xyz\\\/tech\\\/\",\"name\":\"Sheltie Garage Tech\",\"description\":\"\u30c6\u30af\u30ce\u30ed\u30b8\u30fc\u95a2\u9023\u306e\u8a71\u984c\u3092\u307e\u3068\u3081\u305f\u30d6\u30ed\u30b0\u3067\u3059\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\\\/\\\/sheltie-garage.xyz\\\/tech\\\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"ja\"},{\"@type\":\"Person\",\"@id\":\"https:\\\/\\\/sheltie-garage.xyz\\\/tech\\\/#\\\/schema\\\/person\\\/f67942d4a63ae93a823618fc5a09077f\",\"name\":\"monodon\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"ja\",\"@id\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/692645b6204688b4dd631c1af09e3f8290eef390d3a741e60c237b98263fb860?s=96&d=mm&r=g\",\"url\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/692645b6204688b4dd631c1af09e3f8290eef390d3a741e60c237b98263fb860?s=96&d=mm&r=g\",\"contentUrl\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/692645b6204688b4dd631c1af09e3f8290eef390d3a741e60c237b98263fb860?s=96&d=mm&r=g\",\"caption\":\"monodon\"},\"sameAs\":[\"https:\\\/\\\/sheltie-garage.xyz\\\/tech\"],\"url\":\"https:\\\/\\\/sheltie-garage.xyz\\\/tech\\\/author\\\/monodon\\\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Unity6.5 GetInstanceID\u3092\u3069\u3046\u3059\u308b\uff1f - Sheltie Garage Tech","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/sheltie-garage.xyz\/tech\/2026\/06\/unity6-5-getinstanceid\u3092\u3069\u3046\u3059\u308b\uff1f\/","og_locale":"ja_JP","og_type":"article","og_title":"Unity6.5 GetInstanceID\u3092\u3069\u3046\u3059\u308b\uff1f - Sheltie Garage Tech","og_description":"Unity6.5\u304b\u3089GetInstanceID\u304c\u5ec3\u6b62(obsolute)\u3068\u306a\u308a\u3001\u30b3\u30f3\u30d1\u30a4\u30eb\u30a8\u30e9\u30fc\u304c\u767a\u751f\u3059\u308b\u3088\u3046\u306b\u306a\u308a\u307e\u3057\u305f\u81ea\u5206\u304c\u5229\u7528\u3057\u3066\u3044\u308b\u30a2\u30bb\u30c3\u30c8\u306e\u4e00\u90e8\u3067GetInstanceID\u304c\u5229\u7528\u3055\u308c\u3066\u3044\u308b\u7b87\u6240\u304c\u3042\u308a\u3001\u30b3\u30f3\u30d1\u30a4\u30eb [&hellip;]","og_url":"https:\/\/sheltie-garage.xyz\/tech\/2026\/06\/unity6-5-getinstanceid\u3092\u3069\u3046\u3059\u308b\uff1f\/","og_site_name":"Sheltie Garage Tech","article_published_time":"2026-06-21T11:02:36+00:00","article_modified_time":"2026-06-21T11:04:13+00:00","og_image":[{"width":489,"height":171,"url":"https:\/\/sheltie-garage.xyz\/tech\/wp-content\/uploads\/2026\/06\/20260621_001.png","type":"image\/png"}],"author":"monodon","twitter_card":"summary_large_image","twitter_misc":{"\u57f7\u7b46\u8005":"monodon","\u63a8\u5b9a\u8aad\u307f\u53d6\u308a\u6642\u9593":"5\u5206"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/sheltie-garage.xyz\/tech\/2026\/06\/unity6-5-getinstanceid%e3%82%92%e3%81%a9%e3%81%86%e3%81%99%e3%82%8b%ef%bc%9f\/#article","isPartOf":{"@id":"https:\/\/sheltie-garage.xyz\/tech\/2026\/06\/unity6-5-getinstanceid%e3%82%92%e3%81%a9%e3%81%86%e3%81%99%e3%82%8b%ef%bc%9f\/"},"author":{"name":"monodon","@id":"https:\/\/sheltie-garage.xyz\/tech\/#\/schema\/person\/f67942d4a63ae93a823618fc5a09077f"},"headline":"Unity6.5 GetInstanceID\u3092\u3069\u3046\u3059\u308b\uff1f","datePublished":"2026-06-21T11:02:36+00:00","dateModified":"2026-06-21T11:04:13+00:00","mainEntityOfPage":{"@id":"https:\/\/sheltie-garage.xyz\/tech\/2026\/06\/unity6-5-getinstanceid%e3%82%92%e3%81%a9%e3%81%86%e3%81%99%e3%82%8b%ef%bc%9f\/"},"wordCount":30,"commentCount":0,"image":{"@id":"https:\/\/sheltie-garage.xyz\/tech\/2026\/06\/unity6-5-getinstanceid%e3%82%92%e3%81%a9%e3%81%86%e3%81%99%e3%82%8b%ef%bc%9f\/#primaryimage"},"thumbnailUrl":"https:\/\/sheltie-garage.xyz\/tech\/wp-content\/uploads\/2026\/06\/20260621_001.png","articleSection":["Unity"],"inLanguage":"ja","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/sheltie-garage.xyz\/tech\/2026\/06\/unity6-5-getinstanceid%e3%82%92%e3%81%a9%e3%81%86%e3%81%99%e3%82%8b%ef%bc%9f\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/sheltie-garage.xyz\/tech\/2026\/06\/unity6-5-getinstanceid%e3%82%92%e3%81%a9%e3%81%86%e3%81%99%e3%82%8b%ef%bc%9f\/","url":"https:\/\/sheltie-garage.xyz\/tech\/2026\/06\/unity6-5-getinstanceid%e3%82%92%e3%81%a9%e3%81%86%e3%81%99%e3%82%8b%ef%bc%9f\/","name":"Unity6.5 GetInstanceID\u3092\u3069\u3046\u3059\u308b\uff1f - Sheltie Garage Tech","isPartOf":{"@id":"https:\/\/sheltie-garage.xyz\/tech\/#website"},"primaryImageOfPage":{"@id":"https:\/\/sheltie-garage.xyz\/tech\/2026\/06\/unity6-5-getinstanceid%e3%82%92%e3%81%a9%e3%81%86%e3%81%99%e3%82%8b%ef%bc%9f\/#primaryimage"},"image":{"@id":"https:\/\/sheltie-garage.xyz\/tech\/2026\/06\/unity6-5-getinstanceid%e3%82%92%e3%81%a9%e3%81%86%e3%81%99%e3%82%8b%ef%bc%9f\/#primaryimage"},"thumbnailUrl":"https:\/\/sheltie-garage.xyz\/tech\/wp-content\/uploads\/2026\/06\/20260621_001.png","datePublished":"2026-06-21T11:02:36+00:00","dateModified":"2026-06-21T11:04:13+00:00","author":{"@id":"https:\/\/sheltie-garage.xyz\/tech\/#\/schema\/person\/f67942d4a63ae93a823618fc5a09077f"},"breadcrumb":{"@id":"https:\/\/sheltie-garage.xyz\/tech\/2026\/06\/unity6-5-getinstanceid%e3%82%92%e3%81%a9%e3%81%86%e3%81%99%e3%82%8b%ef%bc%9f\/#breadcrumb"},"inLanguage":"ja","potentialAction":[{"@type":"ReadAction","target":["https:\/\/sheltie-garage.xyz\/tech\/2026\/06\/unity6-5-getinstanceid%e3%82%92%e3%81%a9%e3%81%86%e3%81%99%e3%82%8b%ef%bc%9f\/"]}]},{"@type":"ImageObject","inLanguage":"ja","@id":"https:\/\/sheltie-garage.xyz\/tech\/2026\/06\/unity6-5-getinstanceid%e3%82%92%e3%81%a9%e3%81%86%e3%81%99%e3%82%8b%ef%bc%9f\/#primaryimage","url":"https:\/\/sheltie-garage.xyz\/tech\/wp-content\/uploads\/2026\/06\/20260621_001.png","contentUrl":"https:\/\/sheltie-garage.xyz\/tech\/wp-content\/uploads\/2026\/06\/20260621_001.png","width":489,"height":171},{"@type":"BreadcrumbList","@id":"https:\/\/sheltie-garage.xyz\/tech\/2026\/06\/unity6-5-getinstanceid%e3%82%92%e3%81%a9%e3%81%86%e3%81%99%e3%82%8b%ef%bc%9f\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"\u30db\u30fc\u30e0","item":"https:\/\/sheltie-garage.xyz\/tech\/"},{"@type":"ListItem","position":2,"name":"Unity6.5 GetInstanceID\u3092\u3069\u3046\u3059\u308b\uff1f"}]},{"@type":"WebSite","@id":"https:\/\/sheltie-garage.xyz\/tech\/#website","url":"https:\/\/sheltie-garage.xyz\/tech\/","name":"Sheltie Garage Tech","description":"\u30c6\u30af\u30ce\u30ed\u30b8\u30fc\u95a2\u9023\u306e\u8a71\u984c\u3092\u307e\u3068\u3081\u305f\u30d6\u30ed\u30b0\u3067\u3059","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/sheltie-garage.xyz\/tech\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"ja"},{"@type":"Person","@id":"https:\/\/sheltie-garage.xyz\/tech\/#\/schema\/person\/f67942d4a63ae93a823618fc5a09077f","name":"monodon","image":{"@type":"ImageObject","inLanguage":"ja","@id":"https:\/\/secure.gravatar.com\/avatar\/692645b6204688b4dd631c1af09e3f8290eef390d3a741e60c237b98263fb860?s=96&d=mm&r=g","url":"https:\/\/secure.gravatar.com\/avatar\/692645b6204688b4dd631c1af09e3f8290eef390d3a741e60c237b98263fb860?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/692645b6204688b4dd631c1af09e3f8290eef390d3a741e60c237b98263fb860?s=96&d=mm&r=g","caption":"monodon"},"sameAs":["https:\/\/sheltie-garage.xyz\/tech"],"url":"https:\/\/sheltie-garage.xyz\/tech\/author\/monodon\/"}]}},"_links":{"self":[{"href":"https:\/\/sheltie-garage.xyz\/tech\/wp-json\/wp\/v2\/posts\/1691","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/sheltie-garage.xyz\/tech\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/sheltie-garage.xyz\/tech\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/sheltie-garage.xyz\/tech\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/sheltie-garage.xyz\/tech\/wp-json\/wp\/v2\/comments?post=1691"}],"version-history":[{"count":3,"href":"https:\/\/sheltie-garage.xyz\/tech\/wp-json\/wp\/v2\/posts\/1691\/revisions"}],"predecessor-version":[{"id":1696,"href":"https:\/\/sheltie-garage.xyz\/tech\/wp-json\/wp\/v2\/posts\/1691\/revisions\/1696"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/sheltie-garage.xyz\/tech\/wp-json\/wp\/v2\/media\/1693"}],"wp:attachment":[{"href":"https:\/\/sheltie-garage.xyz\/tech\/wp-json\/wp\/v2\/media?parent=1691"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/sheltie-garage.xyz\/tech\/wp-json\/wp\/v2\/categories?post=1691"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/sheltie-garage.xyz\/tech\/wp-json\/wp\/v2\/tags?post=1691"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}