Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

everything is black lots of errors #8

Open
FranckSitbon opened this issue May 18, 2020 · 7 comments
Open

everything is black lots of errors #8

FranckSitbon opened this issue May 18, 2020 · 7 comments

Comments

@FranckSitbon
Copy link

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
Copy link
Contributor

peeweek commented May 19, 2020

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

@kongyuan
Copy link

Same problem. Unity 2019.3.3f1 , HDRP 7.3.1

@FranckSitbon
Copy link
Author

FranckSitbon commented May 29, 2020 via email

@MikeKotys
Copy link

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
Copy link

MikeKotys commented Jul 21, 2020

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
Copy link
Contributor

peeweek commented Jan 13, 2021

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

peeweek added a commit that referenced this issue Feb 8, 2021
)

* Fix small sign error that causes division by zero (#8)

* Added Events and Scripts for Screenshots

* Updated Screenshots, Added FPS Manager in benchmark + Fixes in packages

Co-authored-by: Ludovic Theobald <[email protected]>
Co-authored-by: Thomas ICHÉ <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants
@kongyuan @peeweek @MikeKotys @FranckSitbon and others