dentedpixel / LeanTween

LeanTween is an efficient animation engine for Unity
611 stars 135 forks source link

Got error that does not denote a valid type ('not found') when building hololens project #99

Open houzy opened 7 years ago

houzy commented 7 years ago

Unity: 5.5.0f3 Build Settings Platform: Windows store SDK: Universal 10 Target device: Hololens UWP build type: D3D Errors: Assets/LeanTween/Examples/Archived/OldGUIExamplesJS.js(7,25): BCE0018: The name 'LTRect' does not denote a valid type ('not found'). Assets/LeanTween/Examples/Archived/OldGUIExamplesJS.js(8,25): BCE0018: The name 'LTRect' does not denote a valid type ('not found'). Assets/LeanTween/Examples/Archived/OldGUIExamplesJS.js(9,25): BCE0018: The name 'LTRect' does not denote a valid type ('not found'). Assets/LeanTween/Examples/Archived/OldGUIExamplesJS.js(10,25): BCE0018: The name 'LTRect' does not denote a valid type ('not found'). Assets/LeanTween/Examples/Archived/OldGUIExamplesJS.js(11,24): BCE0018: The name 'LTRect' does not denote a valid type ('not found'). Assets/LeanTween/Examples/Archived/OldGUIExamplesJS.js(12,28): BCE0018: The name 'LTRect' does not denote a valid type ('not found'). Assets/LeanTween/Examples/Archived/OldGUISlideImageIn.js(5,24): BCE0018: The name 'LTRect' does not denote a valid type ('not found'). Assets/LeanTween/Examples/Scripts/GeneralEventsListenersJS.js(30,20): BCE0018: The name 'LTEvent' does not denote a valid type ('not found'). Assets/LeanTween/Examples/Scripts/GeneralEventsListenersJS.js(34,25): BCE0018: The name 'LTEvent' does not denote a valid type ('not found'). Assets/LeanTween/Examples/Scripts/PathLocalCurveJS.js(11,20): BCE0018: The name 'LTSpline' does not denote a valid type ('not found'). Assets/LeanTween/Examples/Scripts/TestingAllJS.js(172,20): BCE0018: The name 'LTDescr' does not denote a valid type ('not found'). Error building Player because scripts had compiler errors

dentedpixel commented 7 years ago

I don't have that target to test on at the moment, but I think I know what the issue is and put up a fix. Could you test and let me know? Thanks!

houzy commented 7 years ago

@dentedpixel Ok, I will test it.

houzy commented 7 years ago

New errors: Assets/LeanTween/Examples/Archived/OldGUIExamplesJS.js(1,8): BCE0021: Namespace 'DentedPixel' not found, maybe you forgot to add an assembly reference? Assets/LeanTween/Examples/Scripts/GeneralBasicJS.js(2,8): BCE0021: Namespace 'DentedPixel' not found, maybe you forgot to add an assembly reference? Assets/LeanTween/Examples/Scripts/GeneralBasics2dJS.js(2,8): BCE0021: Namespace 'DentedPixel' not found, maybe you forgot to add an assembly reference? Assets/LeanTween/Examples/Scripts/GeneralBasicsJS.js(2,8): BCE0021: Namespace 'DentedPixel' not found, maybe you forgot to add an assembly reference? Assets/LeanTween/Examples/Scripts/GeneralEventsListenersJS.js(2,8): BCE0021: Namespace 'DentedPixel' not found, maybe you forgot to add an assembly reference? Assets/LeanTween/Examples/Scripts/GeneralSimpleUiJS.js(2,8): BCE0021: Namespace 'DentedPixel' not found, maybe you forgot to add an assembly reference? Assets/LeanTween/Examples/Scripts/PathLocalCurveJS.js(2,8): BCE0021: Namespace 'DentedPixel' not found, maybe you forgot to add an assembly reference? Assets/LeanTween/Examples/Scripts/TestingAllJS.js(2,9): BCE0021: Namespace 'DentedPixel' not found, maybe you forgot to add an assembly reference?

dentedpixel commented 7 years ago

I will try and fix these errors once I get back to a reliable wifi connection. In the meantime I think you can just delete those javascript files and you should be able to compile (I hope!)

dentedpixel commented 7 years ago

And just to be clear all those files are example files, and shouldn't be necessary for the functionality of the engine.

houzy commented 7 years ago

OK. I have removed all javascript files, and build project successfully. Thanks.