Killikario
Killikario2mo ago

Scripts Disabling

My scripts on my player disable themselves everytime i start. i've been using the player manager to reenable them but sometimes it doesnt work and no errors are in the console.
3 Replies
kapa.ai
kapa.ai2mo ago
Hi @Killikario. I'm kapa.ai, your friendly support bot. I will try to answer your question by searching through the knowledge base. :wave: ---------------------- Based on the information provided, it's hard to pinpoint the exact cause of your issue. However, there are a few things you could check: 1. Make sure your scripts are not being disabled in their own code. Look for any this.enabled = false; or similar lines in your scripts. 2. Check if your scripts are attached to game objects that are being disabled. If a game object is disabled, all scripts attached to it will also be disabled. 3. If you're using Normcore's RealtimeView, remember that you cannot disable RealtimeView. Scene RealtimeViews register with Realtime in Start(). If they are disabled, they will never register: Realtime will neither initialize them nor connect them to the datastore. Instead, you can use a custom RealtimeComponent to enable/disable child game objects, scripts, or renderers directly. source (https://normcore.io/documentation/realtime/common-questions#can-i-disable-realtimeview) 4. If you're trying to add RealtimeComponents at runtime, note that Normcore does not support this. Normcore uses metadata on the prefab in order to connect RealtimeComponents on all clients. source (https://normcore.io/documentation/realtime/common-questions#can-i-add-realtimecomponents-at-runtime) If none of these suggestions help, you might want to consider reaching out to the Normcore community or support for more specific assistance. ---------------------- Note: you can ask me a follow up question by @ mentioning me again :speech_balloon: ----------------------
kapa.ai
kapa.ai2mo ago
<@580413914228195328> kapa.ai is still learning and improving, please let us know how it did by reacting below
Killikario
Killikario2mo ago
sorry for not answering your question last time