Unity-Technologies / SpaceshipDemo

Spaceship Demo - AAA Playable First person demo showcasing effects made with Visual Effect Graph and rendered with High Definition Render Pipeline
Other
1.05k stars 276 forks source link

everything is black lots of errors #8

Open FranckSitbon opened 4 years ago

FranckSitbon commented 4 years ago

NullReferenceException: Object reference not set to an instance of an object MaterialEmissionOverride.Update () (at Assets/Scripts/Lighting/MaterialEmissionOverride.cs:56)

MissingComponentException: There is no 'Renderer' attached to the "Lamp_Rectangle" game object, but a script is trying to access it. You probably need to add a Renderer to the game object "Lamp_Rectangle". Or your script needs to check if the component is attached before using it. UnityEngine.Renderer.get_sharedMaterial () (at <94c5f4c38cdc42d2b006f8badef04394>:0) MaterialEmissionOverride.OnEnable () (at Assets/Scripts/Lighting/MaterialEmissionOverride.cs:37)

Activate: Null AudioClip from patch: attack_amb_fx_metalhit_2 (AxelF.Patch) UnityEngine.Debug:LogError(Object, Object) AxelF.Synthesizer:Activate(AudioProgram, ActivationParams, Patch) (at Assets/Scripts/AxelF/Code/Synthesizer.cs:325) AxelF.AudioProgram:Activate(ActivationParams, Patch) (at Assets/Scripts/AxelF/Code/AudioProgram.cs:218) AxelF.Patch:Activate(ActivationParams) (at Assets/Scripts/AxelF/Code/Patch.cs:60) AxelF.Synthesizer:KeyOn(Boolean&, Patch, Transform, Vector3, Single, Single, Single) (at Assets/Scripts/AxelF/Code/Synthesizer.cs:440) AxelF.Cue:KeyOn() (at Assets/Scripts/AxelF/Code/Sequencer.cs:117) AxelF.Sequencer:CueIn(AudioEmitter, Int32) (at Assets/Scripts/AxelF/Code/Sequencer.cs:155) AxelF.AudioEmitter:CueIn() (at Assets/Scripts/AxelF/Code/AudioEmitter.cs:120) AxelF.AudioEmitter:OnEnable() (at Assets/Scripts/AxelF/Code/AudioEmitter.cs:107) UnityEngine.Behaviour:set_enabled(Boolean) AxelF.AudioZone:OnUpdateEmitters() (at Assets/Scripts/AxelF/Code/AudioZone.cs:93) AxelF.Zone:UpdateEmitters() (at Assets/Scripts/AxelF/Code/Zone.cs:205) AxelF.Zone:Update(Int32) (at Assets/Scripts/AxelF/Code/Zone.cs:135)

MissingReferenceException: The object of type 'Discover' has been destroyed but you are still trying to access it. Your script should either check if it is null or you should not destroy the object. GameplayIngredients.Editor.DiscoverWindow.SetSelectedDiscover (Discover newSelection) (at LocalPackages/net.peeweek.gameplay-ingredients/Editor/Discover/DiscoverWindow.cs:430) GameplayIngredients.Editor.DiscoverWindow.SceneContentGUI () (at LocalPackages/net.peeweek.gameplay-ingredients/Editor/Discover/DiscoverWindow.cs:395) GameplayIngredients.Editor.DiscoverWindow.OnGUI () (at LocalPackages/net.peeweek.gameplay-ingredients/Editor/Discover/DiscoverWindow.cs:276) System.Reflection.MonoMethod.Invoke (System.Object obj, System.Reflection.BindingFlags invokeAttr, System.Reflection.Binder binder, System.Object[] parameters, System.Globalization.CultureInfo culture) (at <437ba245d8404784b9fbab9b439ac908>:0) Rethrow as TargetInvocationException: Exception has been thrown by the target of an invocation. System.Reflection.MonoMethod.Invoke (System.Object obj, System.Reflection.BindingFlags invokeAttr, System.Reflection.Binder binder, System.Object[] parameters, System.Globalization.CultureInfo culture) (at <437ba245d8404784b9fbab9b439ac908>:0) System.Reflection.MethodBase.Invoke (System.Object obj, System.Object[] parameters) (at <437ba245d8404784b9fbab9b439ac908>:0) UnityEditor.HostView.Invoke (System.String methodName, System.Object obj) (at <9ba1187881a84a08b5f9c4cb333d7a6a>:0) UnityEditor.HostView.Invoke (System.String methodName) (at <9ba1187881a84a08b5f9c4cb333d7a6a>:0) UnityEditor.HostView.OldOnGUI () (at <9ba1187881a84a08b5f9c4cb333d7a6a>:0) UnityEngine.UIElements.IMGUIContainer.DoOnGUI (UnityEngine.Event evt, UnityEngine.Matrix4x4 parentTransform, UnityEngine.Rect clippingRect, System.Boolean isComputingLayout, UnityEngine.Rect layoutSize, System.Boolean canAffectFocus) (at <57fa7f4ad1c34ed185465e0a9f71c244>:0) UnityEngine.UIElements.IMGUIContainer.HandleIMGUIEvent (UnityEngine.Event e, UnityEngine.Matrix4x4 worldTransform, UnityEngine.Rect clippingRect, System.Boolean canAffectFocus) (at <57fa7f4ad1c34ed185465e0a9f71c244>:0) UnityEngine.UIElements.IMGUIContainer.HandleIMGUIEvent (UnityEngine.Event e, System.Boolean canAffectFocus) (at <57fa7f4ad1c34ed185465e0a9f71c244>:0) UnityEngine.UIElements.IMGUIContainer.SendEventToIMGUI (UnityEngine.UIElements.EventBase evt, System.Boolean canAffectFocus) (at <57fa7f4ad1c34ed185465e0a9f71c244>:0) UnityEngine.UIElements.IMGUIContainer.HandleEvent (UnityEngine.UIElements.EventBase evt) (at <57fa7f4ad1c34ed185465e0a9f71c244>:0) UnityEngine.UIElements.CallbackEventHandler.HandleEventAtTargetPhase (UnityEngine.UIElements.EventBase evt) (at <57fa7f4ad1c34ed185465e0a9f71c244>:0) UnityEngine.UIElements.MouseCaptureDispatchingStrategy.DispatchEvent (UnityEngine.UIElements.EventBase evt, UnityEngine.UIElements.IPanel panel) (at <57fa7f4ad1c34ed185465e0a9f71c244>:0) UnityEngine.UIElements.EventDispatcher.ProcessEvent (UnityEngine.UIElements.EventBase evt, UnityEngine.UIElements.IPanel panel) (at <57fa7f4ad1c34ed185465e0a9f71c244>:0) UnityEngine.UIElements.EventDispatcher.ProcessEventQueue () (at <57fa7f4ad1c34ed185465e0a9f71c244>:0) UnityEngine.UIElements.EventDispatcher.OpenGate () (at <57fa7f4ad1c34ed185465e0a9f71c244>:0) UnityEngine.UIElements.EventDispatcherGate.Dispose () (at <57fa7f4ad1c34ed185465e0a9f71c244>:0) UnityEngine.UIElements.EventDispatcher.ProcessEvent (UnityEngine.UIElements.EventBase evt, UnityEngine.UIElements.IPanel panel) (at <57fa7f4ad1c34ed185465e0a9f71c244>:0) UnityEngine.UIElements.EventDispatcher.Dispatch (UnityEngine.UIElements.EventBase evt, UnityEngine.UIElements.IPanel panel, UnityEngine.UIElements.DispatchMode dispatchMode) (at <57fa7f4ad1c34ed185465e0a9f71c244>:0) UnityEngine.UIElements.BaseVisualElementPanel.SendEvent (UnityEngine.UIElements.EventBase e, UnityEngine.UIElements.DispatchMode dispatchMode) (at <57fa7f4ad1c34ed185465e0a9f71c244>:0) UnityEngine.UIElements.UIElementsUtility.DoDispatch (UnityEngine.UIElements.BaseVisualElementPanel panel) (at <57fa7f4ad1c34ed185465e0a9f71c244>:0) UnityEngine.UIElements.UIElementsUtility.ProcessEvent (System.Int32 instanceID, System.IntPtr nativeEventPtr) (at <57fa7f4ad1c34ed185465e0a9f71c244>:0) UnityEngine.GUIUtility.ProcessEvent (System.Int32 instanceID, System.IntPtr nativeEventPtr) (at <59837000ebf54955a9cb1d31caa86097>:0)

peeweek commented 4 years ago

Which version of editor are you using? and which version of the HDRP/VFX package ?

kongyuan commented 4 years ago

Same problem. Unity 2019.3.3f1 , HDRP 7.3.1

FranckSitbon commented 4 years ago

I think because all the assets are not present in the git project. You should first download the complete project.

Le jeu. 28 mai 2020 à 10:35, ANUBIS notifications@github.com a écrit :

Same problem. Unity 2019.3.3f1 , HDRP 7.3.1

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/Unity-Technologies/SpaceshipDemo/issues/8#issuecomment-635167633, or unsubscribe https://github.com/notifications/unsubscribe-auth/APT7WC37M6RXLJKDLQFPD2LRTYH2VANCNFSM4ND3UFGA .

MikeKotys commented 3 years ago

I've downloaded the complete project - unpacked size 933 MB and I have the same issue. I've downloaded Unity 2019.3.15f exactly the one that the project says it supports - it just does not work with constant, endless errors. Srsly Unity this is a disgrace: Fontenbleu does not work (tried 3 unity versions), spaceship demo does not work. What. The. Fuck?!

image

MikeKotys commented 3 years ago

Ok I take my words back - I managed to launch the demo by doing some deep digging and finding the ACTUAL project location (instead of the half-a-project location specified on the main GIT page of this project). Here is the link and you will need Unity 2019.3.2:

https://github.com/Unity-Technologies/SpaceshipDemo/releases

image

Be sure to scroll down and download the CONTENT instead of project files. Final project size in zipped format is 1.7 GB

peeweek commented 3 years ago

Yes, what you experience is the project without any of the binary files. :( Seems that the release did not create its archive with LFS content. Somehow, the option was disabled 🤷‍♀️. I have re-downloaded the project after enabling the option again and now it seems to work.

image

Could you try again and confirm please?

image