Hi everyone!
Im building a pipeline that creates scripts for gameobjects I place inside a unity scene.
At the current stage of the pipeline, Im able to create the a scene with gameobjects that have a script component. The scripts have metafiles, but for some reason the gameobject does not find the script and instead shows a "Missing or invalid script" warning from once I open the editor. If I drag-N-drop my script on to the component the game works as intended.
I believe this is due to the scripts and their metafile info is not being added to the /Library. Is there someway to add them to the library externally? Editing metafiles or config files? Can I use somekind of command at CLI level like "Unity.exe -batchmode -recompileAllScriptsAndPutThemInTheLibrary"?
Thanks in advance for your help
↧