Obi Official Forum

Full Version: Rope Disappear When Load scene
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
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
(28-06-2019, 07:56 AM)jirawatball Wrote: [ -> ]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

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/2825...-time.html
(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:

https://answers.unity.com/questions/2825...-time.html

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.