Bug / Crash Rope Disappear When Load scene - Printable Version +- Obi Official Forum (https://obi.virtualmethodstudio.com/forum) +-- Forum: Obi Users Category (https://obi.virtualmethodstudio.com/forum/forum-1.html) +--- Forum: Obi Rope (https://obi.virtualmethodstudio.com/forum/forum-4.html) +--- Thread: Bug / Crash Rope Disappear When Load scene (/thread-1249.html) |
Rope Disappear When Load scene - jirawatball - 28-06-2019 https://youtu.be/HL4ONkz8pzw When I load scene and use code like RopeGrapplingHook. Render Rope is missing but can use when open this scene fist https://youtu.be/Ibb7Neg0xXE RE: Rope Disappear When Load scene - josemendez - 28-06-2019 (28-06-2019, 07:56 AM)jirawatball Wrote: https://youtu.be/HL4ONkz8pzw Make sure the ObiRopeSection used by your rope is being added to the build by Unity. Assets that are not directly referenced by a component (ie, through a public field in a component) are excluded from the build automatically. See: https://answers.unity.com/questions/282566/does-unity-cull-away-unused-assets-on-build-time.html RE: Rope Disappear When Load scene - jirawatball - 08-07-2019 (28-06-2019, 08:01 AM)josemendez Wrote: Make sure the ObiRopeSection used by your rope is being added to the build by Unity. Assets that are not directly referenced by a component (ie, through a public field in a component) are excluded from the build automatically. See: This also occur when I tested it in editor, when I begin in other scene then load the scene with grappling hook. So I think it has nothing to do with built asset. The only condition that will make this work is when I tested the grappling hook scene directly without load it from other scene. |