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

Add better logs for missing component references #101

Merged
merged 2 commits into from
Jul 23, 2020

Conversation

pfaion
Copy link
Contributor

@pfaion pfaion commented Jul 22, 2020

Previously some users would not notice if a component was missing a connection, or did not know what to do in this case. This PR should make this a bit clearer to users by telling them which reference is missing from which component and that they need to connect them manually. It also logs an error instead of a warning since the component won't function correctly in this case.

This is especially important since we offer a range of ready-to-use prefabs, which still require to be hooked up correctly to the scene. Just dragging them in would not work because of missing references.

Previously some users would not notice if a component was missing a
connection, or did not know what to do in this case. This should make
this a bit clearer to users.
@pfaion pfaion requested a review from papr July 22, 2020 13:52
plugin/Scripts/FrameVisualizer.cs Outdated Show resolved Hide resolved
Co-authored-by: Pablo Prietz <pablo@prietz.org>
@pfaion pfaion requested a review from papr July 23, 2020 09:38
@papr papr merged commit 150e575 into master Jul 23, 2020
@papr papr deleted the better-missing-reference-errors branch July 23, 2020 09:50
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

Successfully merging this pull request may close these issues.

2 participants