It seems you’re experiencing an issue with the XRControllerFollow script becoming grayed out in Unity after reopening the project. This usually indicates that Unity cannot find the script due to potential modifications or changes in the project files.
Troubleshooting Steps:
Check Script References: Ensure that the script file is present in the project directory and not renamed. Unity may lose reference links if the files are relocated or renamed.
Reimport All Assets: In Unity, go to Assets > Reimport All. This may help Unity recognize the script components again.
Script Compilation Errors: Look for any compilation errors in the console that could prevent Unity from recognizing the script.
Script Execution Order: Check if the script execution order affects the component’s behavior. Sometimes dependencies may require adjustments.
Update Needle Engine: As you are using version 4.2.4, consider checking for newer versions or patches that may address this specific issue.
Resave the Script: Sometimes just opening the script and saving it again in the IDE can help Unity re-link it.
Code Check:
Based on the XRControllerFollow implementation, verify that the code itself adheres to the expected interface. Here’s a relevant portion you may want to inspect:
If none of these steps resolve the issue, please consider providing the output of the console log or examining the project settings that might impact script recognition.
For further guidance, you can refer to the documentation on the API to ensure your implementation aligns with any updates or changes: Needle Engine API.
Let me know if you need any more specific assistance or if there’s something specific you’d like to explore!
1 replies left - Get a PRO license for more AI replies. thread_bt2fti9cGi9pHkCz2cu6tk7d Reply to this message to continue the conversation