Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Bug / Crash Rope Disappear When Load scene
#1
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
Reply
#2
(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
Reply
#3
(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.
Reply