{"id":25002,"date":"2024-10-26T04:25:22","date_gmt":"2024-10-26T04:25:22","guid":{"rendered":"http:\/\/atmokpo.com\/w\/?p=25002"},"modified":"2024-11-26T08:03:10","modified_gmt":"2024-11-26T08:03:10","slug":"%ec%9c%a0%eb%8b%88%ed%8b%b0-%ea%b8%b0%ec%b4%88-%ea%b0%95%ec%a2%8c-%ec%9e%90%ec%a3%bc-%eb%b0%9c%ec%83%9d%ed%95%98%eb%8a%94-%ec%97%90%eb%9f%ac-nullreference%ec%99%80-unassignedreference","status":"publish","type":"post","link":"https:\/\/atmokpo.com\/w\/25002\/","title":{"rendered":"\uc720\ub2c8\ud2f0 \uae30\ucd08 \uac15\uc88c: \uc790\uc8fc \ubc1c\uc0dd\ud558\ub294 \uc5d0\ub7ec, NullReference\uc640 UnassignedReference"},"content":{"rendered":"<p>\uc720\ub2c8\ud2f0(Unity)\ub294 \uc138\uacc4\uc5d0\uc11c \uac00\uc7a5 \uc778\uae30 \uc788\ub294 \uac8c\uc784 \uc5d4\uc9c4 \uc911 \ud558\ub098\ub85c, \ub9ce\uc740 \uac1c\ubc1c\uc790\ub4e4\uc774 \uac8c\uc784 \ubc0f \uc5b4\ud50c\ub9ac\ucf00\uc774\uc158\uc744 \ub9cc\ub4e4\uae30 \uc704\ud574 \uc0ac\uc6a9\ud558\uace0 \uc788\uc2b5\ub2c8\ub2e4. \uadf8\ub7ec\ub098 \uc720\ub2c8\ud2f0\ub97c \ucc98\uc74c \uc0ac\uc6a9\ud558\ub294 \uc0ac\ub78c\ub4e4\uc740 \uc885\uc885 \ub2e4\uc591\ud55c \uc5d0\ub7ec\uc5d0 \uc9c1\uba74\ud558\uac8c \ub429\ub2c8\ub2e4. \uadf8 \uc911\uc5d0\uc11c\ub3c4 <strong>NullReferenceException<\/strong>\uacfc <strong>UnassignedReferenceException<\/strong>\ub294 \ud2b9\ud788 \uc790\uc8fc \ubc1c\uc0dd\ud558\ub294 \uc5d0\ub7ec\ub85c, \uc774\ub4e4\uc758 \uc6d0\uc778 \ubc0f \ud574\uacb0 \ubc29\ubc95\uc5d0 \ub300\ud574 \uae4a\uc774 \uc54c\uc544\ubcf4\uaca0\uc2b5\ub2c8\ub2e4.<\/p>\n<h2>1. NullReferenceException \uc774\ud574\ud558\uae30<\/h2>\n<p><strong>NullReferenceException<\/strong>\uc740 C# \ud504\ub85c\uadf8\ub798\ubc0d \uc5b8\uc5b4\uc5d0\uc11c \ubc1c\uc0dd\ud558\ub294 \uc5d0\ub7ec \uc911 \ud558\ub098\ub85c, \uc77c\ubc18\uc801\uc73c\ub85c \uac1d\uccb4\uac00 null\uc778 \uc0c1\ud0dc\uc5d0\uc11c \ud574\ub2f9 \uac1d\uccb4\uc758 \ubcc0\uc218\ub098 \uba54\uc18c\ub4dc\ub97c \ucc38\uc870\ud558\ub824\uace0 \ud560 \ub54c \ubc1c\uc0dd\ud569\ub2c8\ub2e4. \uc774 \uc5d0\ub7ec\ub294 \uc8fc\ub85c \ub2e4\uc74c\uacfc \uac19\uc740 \uc0c1\ud669\uc5d0\uc11c \ubc1c\uc0dd\ud569\ub2c8\ub2e4:<\/p>\n<ul>\n<li>\ucd08\uae30\ud654\ub418\uc9c0 \uc54a\uc740 \ubcc0\uc218\uc5d0 \uc811\uadfc\ud558\ub824\uace0 \ud560 \ub54c<\/li>\n<li>Destroy\ub41c \uac8c\uc784 \uc624\ube0c\uc81d\ud2b8\uc758 \ucef4\ud3ec\ub10c\ud2b8\ub97c \ucc38\uc870\ud558\ub824\uace0 \ud560 \ub54c<\/li>\n<li>\ube44\ud65c\uc131\ud654\ub41c \uac8c\uc784 \uc624\ube0c\uc81d\ud2b8\uc758 \ucef4\ud3ec\ub10c\ud2b8\ub97c \ucc38\uc870\ud558\ub824\uace0 \ud560 \ub54c<\/li>\n<\/ul>\n<h3>1.1 NullReferenceException \uc608\uc2dc<\/h3>\n<p>\ub2e4\uc74c\uc740 NullReferenceException\uc774 \ubc1c\uc0dd\ud560 \uc218 \uc788\ub294 \uc608\uc2dc \ucf54\ub4dc\uc785\ub2c8\ub2e4:<\/p>\n<pre><code>public class Player : MonoBehaviour \n{\n    public Gun myGun;\n\n    void Start() \n    {\n        myGun.Fire();\n    }\n}<\/code><\/pre>\n<p>\uc704 \ucf54\ub4dc\uc5d0\uc11c <code>myGun<\/code>\uc774 \ucd08\uae30\ud654\ub418\uc9c0 \uc54a\uc558\ub2e4\uba74, <code>myGun.Fire()<\/code>\ub97c \ud638\ucd9c\ud560 \ub54c NullReferenceException\uc774 \ubc1c\uc0dd\ud569\ub2c8\ub2e4. \uc774\ub7ec\ud55c \uc5d0\ub7ec\ub97c \uc608\ubc29\ud558\uae30 \uc704\ud574\uc11c\ub294 \ubcc0\uc218\ub97c \ubc18\ub4dc\uc2dc \ucd08\uae30\ud654\ud574\uc57c \ud569\ub2c8\ub2e4.<\/p>\n<h3>1.2 NullReferenceException \ud574\uacb0 \ubc29\ubc95<\/h3>\n<p>\uc774 \uc5d0\ub7ec\ub97c \ud574\uacb0\ud558\uae30 \uc704\ud574\uc11c\ub294 \ub2e4\uc74c\uacfc \uac19\uc740 \ubc29\ubc95\uc744 \uc0ac\uc6a9\ud558\uc138\uc694:<\/p>\n<ul>\n<li><strong>\ubcc0\uc218 \ucd08\uae30\ud654<\/strong>: \ubcc0\uc218\ub97c \uc0ac\uc6a9\ud560 \ub54c\ub294 \ud56d\uc0c1 \ucd08\uae30\ud654\ub418\uc5b4 \uc788\ub294\uc9c0 \ud655\uc778\ud558\uc138\uc694. \uc608\ub97c \ub4e4\uc5b4, \ud504\ub85c\ud37c\ud2f0\uac00 \uac15\uc81c\ub85c \ud560\ub2f9\ub418\uc5b4\uc57c \ud560 \ud544\uc694\uac00 \uc788\uc2b5\ub2c8\ub2e4.<\/li>\n<li><strong>Null \uccb4\ud06c<\/strong>: \ubcc0\uc218\ub97c \uc0ac\uc6a9\ud558\uae30 \uc804\uc5d0 null\uc778\uc9c0 \ud655\uc778\ud558\ub294 \uc870\uac74\ubb38\uc744 \ucd94\uac00\ud558\uc138\uc694. \uc608\ub97c \ub4e4\uc5b4, <code>if(myGun != null)<\/code>\uacfc \uac19\uc774 \uccb4\ud06c\ud560 \uc218 \uc788\uc2b5\ub2c8\ub2e4.<\/li>\n<li><strong>Debug.Log<\/strong> \uc0ac\uc6a9: \uc5d0\ub7ec\uac00 \ubc1c\uc0dd\ud558\ub294 \ubd80\ubd84\uc5d0 <code>Debug.Log<\/code>\ub97c \ucd94\uac00\ud558\uc5ec \ubcc0\uc218\uc758 \uc0c1\ud0dc\ub97c \ucd9c\ub825\ud569\ub2c8\ub2e4.<\/li>\n<\/ul>\n<h2>2. UnassignedReferenceException \uc774\ud574\ud558\uae30<\/h2>\n<p><strong>UnassignedReferenceException<\/strong>\ub294 Unity \uc804\uc6a9 \uc5d0\ub7ec\ub85c, \uc778\uc2a4\ud399\ud130\uc5d0\uc11c \ud560\ub2f9\ub418\uc9c0 \uc54a\uc740 \ubcc0\uc218\ub97c \ucc38\uc870\ud558\ub824\uace0 \ud560 \ub54c \ubc1c\uc0dd\ud569\ub2c8\ub2e4. \uc8fc\ub85c MonoBehaviour\uc758 public \ubcc0\uc218\ub098 SerializedField\ub85c \uc120\uc5b8\ud55c \ubcc0\uc218\uac00 \uc720\ud6a8\ud558\uc9c0 \uc54a\uc744 \uacbd\uc6b0 \ubc1c\uc0dd\ud569\ub2c8\ub2e4.<\/p>\n<h3>2.1 UnassignedReferenceException \uc608\uc2dc<\/h3>\n<p>\ub2e4\uc74c\uc740 UnassignedReferenceException\uc774 \ubc1c\uc0dd\ud560 \uc218 \uc788\ub294 \uc608\uc2dc \ucf54\ub4dc\uc785\ub2c8\ub2e4:<\/p>\n<pre><code>public class GameManager : MonoBehaviour \n{\n    public Player player; \/\/ \uc778\uc2a4\ud399\ud130\uc5d0\uc11c \ud560\ub2f9\ud558\uc9c0 \uc54a\uc74c\n\n    void Start() \n    {\n        player.Move();\n    }\n}<\/code><\/pre>\n<p>\uc704 \ucf54\ub4dc\uc5d0\uc11c <code>player<\/code>\uac00 \uc778\uc2a4\ud399\ud130\uc5d0\uc11c \ud560\ub2f9\ub418\uc9c0 \uc54a\uc558\ub2e4\uba74, <code>player.Move()<\/code>\ub97c \ud638\ucd9c\ud560 \ub54c UnassignedReferenceException\uc774 \ubc1c\uc0dd\ud569\ub2c8\ub2e4.<\/p>\n<h3>2.2 UnassignedReferenceException \ud574\uacb0 \ubc29\ubc95<\/h3>\n<p>\uc774 \uc5d0\ub7ec\ub97c \ud574\uacb0\ud558\uae30 \uc704\ud55c \ubc29\ubc95\uc740 \ub2e4\uc74c\uacfc \uac19\uc2b5\ub2c8\ub2e4:<\/p>\n<ul>\n<li><strong>\uc778\uc2a4\ud399\ud130\uc5d0\uc11c \ubcc0\uc218 \ud560\ub2f9<\/strong>: \uac8c\uc784 \uc624\ube0c\uc81d\ud2b8\uc758 \uc778\uc2a4\ud399\ud130\uc5d0\uc11c \ud574\ub2f9 \ubcc0\uc218\uc5d0 \uc62c\ubc14\ub978 \uac8c\uc784 \uc624\ube0c\uc81d\ud2b8\ub97c \ub4dc\ub798\uadf8\ud558\uc5ec \ud560\ub2f9\ud558\uc138\uc694.<\/li>\n<li><strong>\ub514\ud3f4\ud2b8 \uac12\uc744 \uc81c\uacf5<\/strong>: \ucf54\ub4dc\uc5d0\uc11c \ub514\ud3f4\ud2b8 \uac12\uc744 \uc81c\uacf5\ud558\uac70\ub098, \ud544\ub4dc\uac00 \ud544\uc694\ud558\ub2e4\uba74 Start() \uba54\uc11c\ub4dc \ub0b4\uc5d0\uc11c \uc0c8\ub85c\uc6b4 \uc778\uc2a4\ud134\uc2a4\ub97c \uc0dd\uc131\ud558\uc5ec \ud560\ub2f9\ud560 \uc218 \uc788\uc2b5\ub2c8\ub2e4.<\/li>\n<li><strong>Null \uccb4\ud06c<\/strong>: \ubcc0\uc218 \uc0ac\uc6a9 \uc2dc null\uc778\uc9c0 \uccb4\ud06c\ud558\uc5ec \uc548\uc804\ud558\uac8c \uc0ac\uc6a9\ud560 \uc218 \uc788\uc2b5\ub2c8\ub2e4.<\/li>\n<\/ul>\n<h2>3. NullReferenceException\uacfc UnassignedReferenceException \ucc28\uc774\uc810<\/h2>\n<p>\uc774 \ub450 \uc5d0\ub7ec\ub294 \ube44\uc2b7\ud574 \ubcf4\uc774\uc9c0\ub9cc, \ubc1c\uc0dd \uc6d0\uc778\uacfc \uc0c1\ud669\uc774 \ub2e4\ub985\ub2c8\ub2e4. NullReferenceException\uc740 \uac1d\uccb4\uac00 null\uc778 \uc0c1\ud0dc\uc5d0\uc11c \uadf8 \uac1d\uccb4\uc758 \uba64\ubc84\ub97c \ucc38\uc870\ud560 \ub54c \ubc1c\uc0dd\ud558\uba70, Object\uac00 Destroy\ub418\uc5c8\uac70\ub098 \ucd08\uae30\ud654\ub418\uc9c0 \uc54a\uc558\uc744 \ub54c \uc8fc\ub85c \ubc1c\uc0dd\ud569\ub2c8\ub2e4. \ubc18\uba74, UnassignedReferenceException\uc740 unity \uc5d0\ub514\ud130\uc5d0\uc11c \uc778\uc2a4\ud399\ud130\ub97c \ud1b5\ud574 \uac1d\uccb4\ub97c \ud560\ub2f9\ud558\uc9c0 \uc54a\uc558\uc744 \ub54c \ubc1c\uc0dd\ud569\ub2c8\ub2e4.<\/p>\n<h3>3.1 \uc5d0\ub7ec \ub85c\uadf8 \ud574\uc11d\ud558\uae30<\/h3>\n<p>NullReferenceException\uacfc UnassignedReferenceException\uc740 Unity \ucf58\uc194\uc5d0\uc11c \uc5d0\ub7ec \ub85c\uadf8\ub97c \ud1b5\ud574 \ud655\uc778\ud560 \uc218 \uc788\uc2b5\ub2c8\ub2e4. \uc5d0\ub7ec \uba54\uc2dc\uc9c0\uc5d0\ub294 \uc5d0\ub7ec\uac00 \ubc1c\uc0dd\ud55c \uc704\uce58\uc640 \uc2a4\ud06c\ub9bd\ud2b8\uc758 \uc904 \ubc88\ud638\uac00 \ud45c\uc2dc\ub429\ub2c8\ub2e4. \uc774\ub97c \ud1b5\ud574 \uc5b4\ub5a4 \ucf54\ub4dc\uc5d0\uc11c \ubb38\uc81c\uac00 \ubc1c\uc0dd\ud588\ub294\uc9c0 \ube60\ub974\uac8c \ud30c\uc545\ud560 \uc218 \uc788\uc2b5\ub2c8\ub2e4.<\/p>\n<h2>4. \uc5d0\ub7ec \uc608\ubc29 \ubc0f \ub514\ubc84\uae45 \ud301<\/h2>\n<p>\uc774\ub7f0 \uc5d0\ub7ec\ub294 \uc77c\uc0c1\uc5d0\uc11c \ube48\ubc88\ud558\uac8c \ubc1c\uc0dd\ud560 \uc218 \uc788\uc2b5\ub2c8\ub2e4. \ub2e4\uc74c\uc740 \uc5d0\ub7ec \uc608\ubc29 \ubc0f \ud574\uacb0\uc744 \uc704\ud574 \uc720\uc6a9\ud55c \ud301\ub4e4\uc785\ub2c8\ub2e4:<\/p>\n<ul>\n<li><strong>\ucf54\ub4dc \ub9ac\ubdf0<\/strong>: \uc790\uc2e0\uc774 \uc791\uc131\ud55c \ucf54\ub4dc\ub97c \uc815\uae30\uc801\uc73c\ub85c \ub9ac\ubdf0\ud558\uace0, \ud544\uc694\ud55c \uacbd\uc6b0 \ub9ac\ud329\ud1a0\ub9c1\ud558\uc138\uc694.<\/li>\n<li><strong>\uc8fc\uc11d \uc0ac\uc6a9<\/strong>: \ubcf5\uc7a1\ud55c \ucf54\ub4dc\uc5d0\ub294 \uc8fc\uc11d\uc744 \ucd94\uac00\ud558\uc5ec \ub2e4\ub978 \uac1c\ubc1c\uc790\ub098 \uc790\uc2e0\uc774 \uc774\ud574\ud558\uae30 \uc27d\uac8c \ub9cc\ub4ed\ub2c8\ub2e4.<\/li>\n<li><strong>\uc720\ub2db \ud14c\uc2a4\ud2b8<\/strong>: \uac00\ub2a5\ud55c \uacbd\uc6b0 \uc720\ub2db \ud14c\uc2a4\ud2b8\ub97c \uc791\uc131\ud558\uc5ec \ucf54\ub4dc\uc758 \uc548\uc815\uc131\uc744 \ub192\uc785\ub2c8\ub2e4.<\/li>\n<li><strong>\ub514\ubc84\uae45 \ub3c4\uad6c \uc0ac\uc6a9<\/strong>: Unity\uc758 \ub514\ubc84\uae45 \ub3c4\uad6c\ub97c \uc0ac\uc6a9\ud558\uc5ec \uc2e4\uc2dc\uac04\uc73c\ub85c \uc624\ub958\ub97c \uc9c4\ub2e8\ud558\uc138\uc694. \ud3ec\uc778\ud2b8 \uac04 \uc810\uac80\ud560 \uc218 \uc788\ub294 \ube0c\ub808\uc774\ud06c \ud3ec\uc778\ud2b8 \uc124\uc815\uc774 \uc720\uc6a9\ud569\ub2c8\ub2e4.<\/li>\n<\/ul>\n<h2>5. \ucee4\ubba4\ub2c8\ud2f0\uc640 \ub3c4\uc6c0 \ubc1b\uae30<\/h2>\n<p>\uc720\ub2c8\ud2f0 \uac1c\ubc1c \uacfc\uc815\uc5d0\uc11c \uc5b4\ub824\uc6c0\uc744 \uacaa\uc744 \uacbd\uc6b0, \ucee4\ubba4\ub2c8\ud2f0\uc640 \uc678\ubd80 \ub9ac\uc18c\uc2a4\ub97c \ud65c\uc6a9\ud558\uba74 \ub9ce\uc740 \ub3c4\uc6c0\uc774 \ub429\ub2c8\ub2e4. \ub2e4\uc74c\uacfc \uac19\uc740 \uc790\uc6d0\uc744 \ud65c\uc6a9\ud574 \ubcf4\uc138\uc694:<\/p>\n<ul>\n<li><strong>Unity Forum<\/strong>: \ub2e4\uc591\ud55c \uc720\ub2c8\ud2f0 \uad00\ub828 \uc9c8\ubb38\uc774\ub098 \ubb38\uc81c\uc5d0 \ub300\ud55c \ub2f5\ubcc0\uc744 \ucc3e\uc744 \uc218 \uc788\uc2b5\ub2c8\ub2e4.<\/li>\n<li><strong>Stack Overflow<\/strong>: \ud2b9\uc815 \uc624\ub958\uc5d0 \ub300\ud55c \ud574\uacb0\ucc45\uc744 \ucc3e\uc744 \uc218 \uc788\ub294 \uc720\uc6a9\ud55c \uc0ac\uc774\ud2b8\uc785\ub2c8\ub2e4.<\/li>\n<li><strong>\uc720\ud29c\ube0c \ud29c\ud1a0\ub9ac\uc5bc<\/strong>: \ub2e4\uc591\ud55c \uc720\ub2c8\ud2f0 \ud504\ub85c\uadf8\ub798\ubc0d \uad00\ub828 \ube44\ub514\uc624 \uac15\uc88c\uac00 \uc788\uc2b5\ub2c8\ub2e4.<\/li>\n<\/ul>\n<h2>\uacb0\ub860<\/h2>\n<p>NullReferenceException\uacfc UnassignedReferenceException\uc740 \uc720\ub2c8\ud2f0\uc5d0\uc11c \uc790\uc8fc \ub9cc\ub098\ub294 \uc5d0\ub7ec\uc785\ub2c8\ub2e4. \uc774\ub7ec\ud55c \uc5d0\ub7ec\ub97c \uc774\ud574\ud558\uace0, \uc608\ubc29\ud558\uace0, \ud574\uacb0\ud558\ub294 \ub2a5\ub825\uc744 \uae30\ub978\ub2e4\uba74 \ub354 \ub192\uc740 \uc218\uc900\uc758 \uac8c\uc784 \uac1c\ubc1c \ub2a5\ub825\uc744 \uac16\ucd9c \uc218 \uc788\uc2b5\ub2c8\ub2e4. \ucd08\ubcf4\uc790 \uac1c\ubc1c\uc790\ub4e4\uc774\ub098 \uacbd\ud5d8\uc774 \ub9ce\uc740 \uac1c\ubc1c\uc790\ub4e4 \ubaa8\ub450 \uc5d0\ub7ec\uc5d0 \ub300\ud55c \uc774\ud574\ub97c \ubc14\ud0d5\uc73c\ub85c \uc790\uc2e0\ub9cc\uc758 \uac1c\ubc1c \ubc29\uc2dd\uc744 \ucc3e\ub294 \uac83\uc774 \uc911\uc694\ud569\ub2c8\ub2e4. \uc55e\uc73c\ub85c\uc758 \uc720\ub2c8\ud2f0 \uac1c\ubc1c \uc5ec\uc815\uc5d0 \ud589\uc6b4\uc744 \ube55\ub2c8\ub2e4!<\/p>\n","protected":false},"excerpt":{"rendered":"<p>\uc720\ub2c8\ud2f0(Unity)\ub294 \uc138\uacc4\uc5d0\uc11c \uac00\uc7a5 \uc778\uae30 \uc788\ub294 \uac8c\uc784 \uc5d4\uc9c4 \uc911 \ud558\ub098\ub85c, \ub9ce\uc740 \uac1c\ubc1c\uc790\ub4e4\uc774 \uac8c\uc784 \ubc0f \uc5b4\ud50c\ub9ac\ucf00\uc774\uc158\uc744 \ub9cc\ub4e4\uae30 \uc704\ud574 \uc0ac\uc6a9\ud558\uace0 \uc788\uc2b5\ub2c8\ub2e4. \uadf8\ub7ec\ub098 \uc720\ub2c8\ud2f0\ub97c \ucc98\uc74c \uc0ac\uc6a9\ud558\ub294 \uc0ac\ub78c\ub4e4\uc740 \uc885\uc885 \ub2e4\uc591\ud55c \uc5d0\ub7ec\uc5d0 \uc9c1\uba74\ud558\uac8c \ub429\ub2c8\ub2e4. \uadf8 \uc911\uc5d0\uc11c\ub3c4 NullReferenceException\uacfc UnassignedReferenceException\ub294 \ud2b9\ud788 \uc790\uc8fc \ubc1c\uc0dd\ud558\ub294 \uc5d0\ub7ec\ub85c, \uc774\ub4e4\uc758 \uc6d0\uc778 \ubc0f \ud574\uacb0 \ubc29\ubc95\uc5d0 \ub300\ud574 \uae4a\uc774 \uc54c\uc544\ubcf4\uaca0\uc2b5\ub2c8\ub2e4. 1. NullReferenceException \uc774\ud574\ud558\uae30 NullReferenceException\uc740 C# \ud504\ub85c\uadf8\ub798\ubc0d \uc5b8\uc5b4\uc5d0\uc11c \ubc1c\uc0dd\ud558\ub294 \uc5d0\ub7ec \uc911 \ud558\ub098\ub85c, &hellip; <a href=\"https:\/\/atmokpo.com\/w\/25002\/\" class=\"more-link\">\ub354 \ubcf4\uae30<span class=\"screen-reader-text\"> &#8220;\uc720\ub2c8\ud2f0 \uae30\ucd08 \uac15\uc88c: \uc790\uc8fc \ubc1c\uc0dd\ud558\ub294 \uc5d0\ub7ec, NullReference\uc640 UnassignedReference&#8221;<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_jetpack_memberships_contains_paid_content":false,"footnotes":""},"categories":[13],"tags":[],"class_list":["post-25002","post","type-post","status-publish","format-standard","hentry","category-13"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v26.2 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>\uc720\ub2c8\ud2f0 \uae30\ucd08 \uac15\uc88c: \uc790\uc8fc \ubc1c\uc0dd\ud558\ub294 \uc5d0\ub7ec, NullReference\uc640 UnassignedReference - \ub77c\uc774\ube0c\uc2a4\ub9c8\ud2b8<\/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:\/\/atmokpo.com\/w\/25002\/\" \/>\n<meta property=\"og:locale\" content=\"ko_KR\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"\uc720\ub2c8\ud2f0 \uae30\ucd08 \uac15\uc88c: \uc790\uc8fc \ubc1c\uc0dd\ud558\ub294 \uc5d0\ub7ec, NullReference\uc640 UnassignedReference - \ub77c\uc774\ube0c\uc2a4\ub9c8\ud2b8\" \/>\n<meta property=\"og:description\" content=\"\uc720\ub2c8\ud2f0(Unity)\ub294 \uc138\uacc4\uc5d0\uc11c \uac00\uc7a5 \uc778\uae30 \uc788\ub294 \uac8c\uc784 \uc5d4\uc9c4 \uc911 \ud558\ub098\ub85c, \ub9ce\uc740 \uac1c\ubc1c\uc790\ub4e4\uc774 \uac8c\uc784 \ubc0f \uc5b4\ud50c\ub9ac\ucf00\uc774\uc158\uc744 \ub9cc\ub4e4\uae30 \uc704\ud574 \uc0ac\uc6a9\ud558\uace0 \uc788\uc2b5\ub2c8\ub2e4. \uadf8\ub7ec\ub098 \uc720\ub2c8\ud2f0\ub97c \ucc98\uc74c \uc0ac\uc6a9\ud558\ub294 \uc0ac\ub78c\ub4e4\uc740 \uc885\uc885 \ub2e4\uc591\ud55c \uc5d0\ub7ec\uc5d0 \uc9c1\uba74\ud558\uac8c \ub429\ub2c8\ub2e4. \uadf8 \uc911\uc5d0\uc11c\ub3c4 NullReferenceException\uacfc UnassignedReferenceException\ub294 \ud2b9\ud788 \uc790\uc8fc \ubc1c\uc0dd\ud558\ub294 \uc5d0\ub7ec\ub85c, \uc774\ub4e4\uc758 \uc6d0\uc778 \ubc0f \ud574\uacb0 \ubc29\ubc95\uc5d0 \ub300\ud574 \uae4a\uc774 \uc54c\uc544\ubcf4\uaca0\uc2b5\ub2c8\ub2e4. 1. NullReferenceException \uc774\ud574\ud558\uae30 NullReferenceException\uc740 C# \ud504\ub85c\uadf8\ub798\ubc0d \uc5b8\uc5b4\uc5d0\uc11c \ubc1c\uc0dd\ud558\ub294 \uc5d0\ub7ec \uc911 \ud558\ub098\ub85c, &hellip; \ub354 \ubcf4\uae30 &quot;\uc720\ub2c8\ud2f0 \uae30\ucd08 \uac15\uc88c: \uc790\uc8fc \ubc1c\uc0dd\ud558\ub294 \uc5d0\ub7ec, NullReference\uc640 UnassignedReference&quot;\" \/>\n<meta property=\"og:url\" content=\"https:\/\/atmokpo.com\/w\/25002\/\" \/>\n<meta property=\"og:site_name\" content=\"\ub77c\uc774\ube0c\uc2a4\ub9c8\ud2b8\" \/>\n<meta property=\"article:published_time\" content=\"2024-10-26T04:25:22+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2024-11-26T08:03:10+00:00\" \/>\n<meta name=\"author\" content=\"root\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:creator\" content=\"@bebubo4\" \/>\n<meta name=\"twitter:site\" content=\"@bebubo4\" \/>\n<meta name=\"twitter:label1\" content=\"\uae00\uc4f4\uc774\" \/>\n\t<meta name=\"twitter:data1\" content=\"root\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\/\/atmokpo.com\/w\/25002\/#article\",\"isPartOf\":{\"@id\":\"https:\/\/atmokpo.com\/w\/25002\/\"},\"author\":{\"name\":\"root\",\"@id\":\"https:\/\/atmokpo.com\/w\/#\/schema\/person\/91b6b3b138fbba0efb4ae64b1abd81d7\"},\"headline\":\"\uc720\ub2c8\ud2f0 \uae30\ucd08 \uac15\uc88c: \uc790\uc8fc \ubc1c\uc0dd\ud558\ub294 \uc5d0\ub7ec, NullReference\uc640 UnassignedReference\",\"datePublished\":\"2024-10-26T04:25:22+00:00\",\"dateModified\":\"2024-11-26T08:03:10+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\/\/atmokpo.com\/w\/25002\/\"},\"wordCount\":49,\"publisher\":{\"@id\":\"https:\/\/atmokpo.com\/w\/#organization\"},\"articleSection\":[\"\uc720\ub2c8\ud2f0\uae30\ucd08\"],\"inLanguage\":\"ko-KR\"},{\"@type\":\"WebPage\",\"@id\":\"https:\/\/atmokpo.com\/w\/25002\/\",\"url\":\"https:\/\/atmokpo.com\/w\/25002\/\",\"name\":\"\uc720\ub2c8\ud2f0 \uae30\ucd08 \uac15\uc88c: \uc790\uc8fc \ubc1c\uc0dd\ud558\ub294 \uc5d0\ub7ec, NullReference\uc640 UnassignedReference - \ub77c\uc774\ube0c\uc2a4\ub9c8\ud2b8\",\"isPartOf\":{\"@id\":\"https:\/\/atmokpo.com\/w\/#website\"},\"datePublished\":\"2024-10-26T04:25:22+00:00\",\"dateModified\":\"2024-11-26T08:03:10+00:00\",\"breadcrumb\":{\"@id\":\"https:\/\/atmokpo.com\/w\/25002\/#breadcrumb\"},\"inLanguage\":\"ko-KR\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/atmokpo.com\/w\/25002\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/atmokpo.com\/w\/25002\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"\ud648\",\"item\":\"https:\/\/atmokpo.com\/w\/en\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"\uc720\ub2c8\ud2f0 \uae30\ucd08 \uac15\uc88c: \uc790\uc8fc \ubc1c\uc0dd\ud558\ub294 \uc5d0\ub7ec, NullReference\uc640 UnassignedReference\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/atmokpo.com\/w\/#website\",\"url\":\"https:\/\/atmokpo.com\/w\/\",\"name\":\"\ub77c\uc774\ube0c\uc2a4\ub9c8\ud2b8\",\"description\":\"\",\"publisher\":{\"@id\":\"https:\/\/atmokpo.com\/w\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/atmokpo.com\/w\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"ko-KR\"},{\"@type\":\"Organization\",\"@id\":\"https:\/\/atmokpo.com\/w\/#organization\",\"name\":\"\ub77c\uc774\ube0c\uc2a4\ub9c8\ud2b8\",\"url\":\"https:\/\/atmokpo.com\/w\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"ko-KR\",\"@id\":\"https:\/\/atmokpo.com\/w\/#\/schema\/logo\/image\/\",\"url\":\"https:\/\/atmokpo.com\/w\/wp-content\/uploads\/2024\/11\/logo.png\",\"contentUrl\":\"https:\/\/atmokpo.com\/w\/wp-content\/uploads\/2024\/11\/logo.png\",\"width\":400,\"height\":400,\"caption\":\"\ub77c\uc774\ube0c\uc2a4\ub9c8\ud2b8\"},\"image\":{\"@id\":\"https:\/\/atmokpo.com\/w\/#\/schema\/logo\/image\/\"},\"sameAs\":[\"https:\/\/x.com\/bebubo4\"]},{\"@type\":\"Person\",\"@id\":\"https:\/\/atmokpo.com\/w\/#\/schema\/person\/91b6b3b138fbba0efb4ae64b1abd81d7\",\"name\":\"root\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"ko-KR\",\"@id\":\"https:\/\/atmokpo.com\/w\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/secure.gravatar.com\/avatar\/708197b41fc6435a7ce22d951b25d4a47e9e904270cb1f04682d4f025066f80c?s=96&d=mm&r=g\",\"contentUrl\":\"https:\/\/secure.gravatar.com\/avatar\/708197b41fc6435a7ce22d951b25d4a47e9e904270cb1f04682d4f025066f80c?s=96&d=mm&r=g\",\"caption\":\"root\"},\"sameAs\":[\"http:\/\/atmokpo.com\/w\"],\"url\":\"https:\/\/atmokpo.com\/w\/author\/root\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"\uc720\ub2c8\ud2f0 \uae30\ucd08 \uac15\uc88c: \uc790\uc8fc \ubc1c\uc0dd\ud558\ub294 \uc5d0\ub7ec, NullReference\uc640 UnassignedReference - \ub77c\uc774\ube0c\uc2a4\ub9c8\ud2b8","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:\/\/atmokpo.com\/w\/25002\/","og_locale":"ko_KR","og_type":"article","og_title":"\uc720\ub2c8\ud2f0 \uae30\ucd08 \uac15\uc88c: \uc790\uc8fc \ubc1c\uc0dd\ud558\ub294 \uc5d0\ub7ec, NullReference\uc640 UnassignedReference - \ub77c\uc774\ube0c\uc2a4\ub9c8\ud2b8","og_description":"\uc720\ub2c8\ud2f0(Unity)\ub294 \uc138\uacc4\uc5d0\uc11c \uac00\uc7a5 \uc778\uae30 \uc788\ub294 \uac8c\uc784 \uc5d4\uc9c4 \uc911 \ud558\ub098\ub85c, \ub9ce\uc740 \uac1c\ubc1c\uc790\ub4e4\uc774 \uac8c\uc784 \ubc0f \uc5b4\ud50c\ub9ac\ucf00\uc774\uc158\uc744 \ub9cc\ub4e4\uae30 \uc704\ud574 \uc0ac\uc6a9\ud558\uace0 \uc788\uc2b5\ub2c8\ub2e4. \uadf8\ub7ec\ub098 \uc720\ub2c8\ud2f0\ub97c \ucc98\uc74c \uc0ac\uc6a9\ud558\ub294 \uc0ac\ub78c\ub4e4\uc740 \uc885\uc885 \ub2e4\uc591\ud55c \uc5d0\ub7ec\uc5d0 \uc9c1\uba74\ud558\uac8c \ub429\ub2c8\ub2e4. \uadf8 \uc911\uc5d0\uc11c\ub3c4 NullReferenceException\uacfc UnassignedReferenceException\ub294 \ud2b9\ud788 \uc790\uc8fc \ubc1c\uc0dd\ud558\ub294 \uc5d0\ub7ec\ub85c, \uc774\ub4e4\uc758 \uc6d0\uc778 \ubc0f \ud574\uacb0 \ubc29\ubc95\uc5d0 \ub300\ud574 \uae4a\uc774 \uc54c\uc544\ubcf4\uaca0\uc2b5\ub2c8\ub2e4. 1. NullReferenceException \uc774\ud574\ud558\uae30 NullReferenceException\uc740 C# \ud504\ub85c\uadf8\ub798\ubc0d \uc5b8\uc5b4\uc5d0\uc11c \ubc1c\uc0dd\ud558\ub294 \uc5d0\ub7ec \uc911 \ud558\ub098\ub85c, &hellip; \ub354 \ubcf4\uae30 \"\uc720\ub2c8\ud2f0 \uae30\ucd08 \uac15\uc88c: \uc790\uc8fc \ubc1c\uc0dd\ud558\ub294 \uc5d0\ub7ec, NullReference\uc640 UnassignedReference\"","og_url":"https:\/\/atmokpo.com\/w\/25002\/","og_site_name":"\ub77c\uc774\ube0c\uc2a4\ub9c8\ud2b8","article_published_time":"2024-10-26T04:25:22+00:00","article_modified_time":"2024-11-26T08:03:10+00:00","author":"root","twitter_card":"summary_large_image","twitter_creator":"@bebubo4","twitter_site":"@bebubo4","twitter_misc":{"\uae00\uc4f4\uc774":"root"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/atmokpo.com\/w\/25002\/#article","isPartOf":{"@id":"https:\/\/atmokpo.com\/w\/25002\/"},"author":{"name":"root","@id":"https:\/\/atmokpo.com\/w\/#\/schema\/person\/91b6b3b138fbba0efb4ae64b1abd81d7"},"headline":"\uc720\ub2c8\ud2f0 \uae30\ucd08 \uac15\uc88c: \uc790\uc8fc \ubc1c\uc0dd\ud558\ub294 \uc5d0\ub7ec, NullReference\uc640 UnassignedReference","datePublished":"2024-10-26T04:25:22+00:00","dateModified":"2024-11-26T08:03:10+00:00","mainEntityOfPage":{"@id":"https:\/\/atmokpo.com\/w\/25002\/"},"wordCount":49,"publisher":{"@id":"https:\/\/atmokpo.com\/w\/#organization"},"articleSection":["\uc720\ub2c8\ud2f0\uae30\ucd08"],"inLanguage":"ko-KR"},{"@type":"WebPage","@id":"https:\/\/atmokpo.com\/w\/25002\/","url":"https:\/\/atmokpo.com\/w\/25002\/","name":"\uc720\ub2c8\ud2f0 \uae30\ucd08 \uac15\uc88c: \uc790\uc8fc \ubc1c\uc0dd\ud558\ub294 \uc5d0\ub7ec, NullReference\uc640 UnassignedReference - \ub77c\uc774\ube0c\uc2a4\ub9c8\ud2b8","isPartOf":{"@id":"https:\/\/atmokpo.com\/w\/#website"},"datePublished":"2024-10-26T04:25:22+00:00","dateModified":"2024-11-26T08:03:10+00:00","breadcrumb":{"@id":"https:\/\/atmokpo.com\/w\/25002\/#breadcrumb"},"inLanguage":"ko-KR","potentialAction":[{"@type":"ReadAction","target":["https:\/\/atmokpo.com\/w\/25002\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/atmokpo.com\/w\/25002\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"\ud648","item":"https:\/\/atmokpo.com\/w\/en\/"},{"@type":"ListItem","position":2,"name":"\uc720\ub2c8\ud2f0 \uae30\ucd08 \uac15\uc88c: \uc790\uc8fc \ubc1c\uc0dd\ud558\ub294 \uc5d0\ub7ec, NullReference\uc640 UnassignedReference"}]},{"@type":"WebSite","@id":"https:\/\/atmokpo.com\/w\/#website","url":"https:\/\/atmokpo.com\/w\/","name":"\ub77c\uc774\ube0c\uc2a4\ub9c8\ud2b8","description":"","publisher":{"@id":"https:\/\/atmokpo.com\/w\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/atmokpo.com\/w\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"ko-KR"},{"@type":"Organization","@id":"https:\/\/atmokpo.com\/w\/#organization","name":"\ub77c\uc774\ube0c\uc2a4\ub9c8\ud2b8","url":"https:\/\/atmokpo.com\/w\/","logo":{"@type":"ImageObject","inLanguage":"ko-KR","@id":"https:\/\/atmokpo.com\/w\/#\/schema\/logo\/image\/","url":"https:\/\/atmokpo.com\/w\/wp-content\/uploads\/2024\/11\/logo.png","contentUrl":"https:\/\/atmokpo.com\/w\/wp-content\/uploads\/2024\/11\/logo.png","width":400,"height":400,"caption":"\ub77c\uc774\ube0c\uc2a4\ub9c8\ud2b8"},"image":{"@id":"https:\/\/atmokpo.com\/w\/#\/schema\/logo\/image\/"},"sameAs":["https:\/\/x.com\/bebubo4"]},{"@type":"Person","@id":"https:\/\/atmokpo.com\/w\/#\/schema\/person\/91b6b3b138fbba0efb4ae64b1abd81d7","name":"root","image":{"@type":"ImageObject","inLanguage":"ko-KR","@id":"https:\/\/atmokpo.com\/w\/#\/schema\/person\/image\/","url":"https:\/\/secure.gravatar.com\/avatar\/708197b41fc6435a7ce22d951b25d4a47e9e904270cb1f04682d4f025066f80c?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/708197b41fc6435a7ce22d951b25d4a47e9e904270cb1f04682d4f025066f80c?s=96&d=mm&r=g","caption":"root"},"sameAs":["http:\/\/atmokpo.com\/w"],"url":"https:\/\/atmokpo.com\/w\/author\/root\/"}]}},"jetpack_featured_media_url":"","jetpack_sharing_enabled":true,"jetpack-related-posts":[],"_links":{"self":[{"href":"https:\/\/atmokpo.com\/w\/wp-json\/wp\/v2\/posts\/25002","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/atmokpo.com\/w\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/atmokpo.com\/w\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/atmokpo.com\/w\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/atmokpo.com\/w\/wp-json\/wp\/v2\/comments?post=25002"}],"version-history":[{"count":1,"href":"https:\/\/atmokpo.com\/w\/wp-json\/wp\/v2\/posts\/25002\/revisions"}],"predecessor-version":[{"id":25003,"href":"https:\/\/atmokpo.com\/w\/wp-json\/wp\/v2\/posts\/25002\/revisions\/25003"}],"wp:attachment":[{"href":"https:\/\/atmokpo.com\/w\/wp-json\/wp\/v2\/media?parent=25002"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/atmokpo.com\/w\/wp-json\/wp\/v2\/categories?post=25002"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/atmokpo.com\/w\/wp-json\/wp\/v2\/tags?post=25002"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}