- Home /
Need to get the name of missing scripts via warning
Hi everyone,
I build a streamed asset bundle that contains a scene. In this scene i attached a monobehaviour script to a gameobject
When i load the streamed scene, this warning message appears
The class defined in script file named 'LoadMeAndTestMe' does not match the file name!
As you can read, my script is "LoadMeAndTestMe", So how to get the name of this missing script by extracting it from this warning message ?
Is there another way to reveal name of missing script after loading a scene bundle at runtime ?
Information : I know an assetbundle just preserve the reference to the script and its public value but not the code. I need to get at runtime the name of the missing script to load dynamically my script.
What makes you think there's a missing script? From what you've shown us, it looks like the script is there but broken, in that the name of the class it contains "does not match the filename".
Answer by PommPoirAbricot · Jun 18, 2013 at 07:01 PM
Perharps this can help to extract name of a script and file name from warning
http://stackoverflow.com/questions/5417907/extract-class-and-filename-from-exception
Answer by ksrf · Dec 11, 2018 at 02:04 PM
Hey.. Could you solve it? I read the answer but I couldnt understand @PommPoirAbricot
Your answer
Follow this Question
Related Questions
Reference Script Missing Warning 1 Answer
Missing behaviours when loading when loading Asset Bundles on iOS 1 Answer
Find a child with a name, how to?? 5 Answers
Asset Store username issue 0 Answers
Assign Names Problem 1 Answer