Crash, error log doesn't say anything particular

I have an issue.

My Unity crashes if I click on a GameObject in hierarchy and press Play, or if I select that GameObject during Play time.

I wanted to copy-paste the error or eventual Exception to get some feedback. That’s the issue. I don’t see an error anywhere in here.

https://pastebin.com/raw/r5gcPwdR

Socket: unable to join multicast group, error: An unknown, invalid, or unsupported option or level was specified in a getsockopt or setsockopt call.
(10042)

This is always appearing, there are 3 errors at the start-up of Unity, every version I ever ran got these. Before I even purchased this computer. It’s not it, since it would cause problems from the first moment.

Not a scripting question, so you might be better going here for editor help Unity Engine - Unity Discussions

I’m near certain that certain parts of code are responsible for the crash, I’m just having issue with finding any relatable crashing logs.

If it’s because of your code, you’d have to share some code for us to even be able to help you. If it’s not your code, we may not be able to help you much.

I rarely see an editor crash repeatedly though as you described. Unless you have an editor script creating issues or you have an infinite loop (uses creates a freeze though).

That’s the point of this entire thread. Error log doesn’t mention what went wrong.

If you think it’s your code, then you need to start narrowing it down. What scripts run when you hit play? Do you have any editor scripts? Does the crash only happen when you select a gameobject or does it always happen even if you navigate through menus or files in your project folder? Is it the same gameobject or any gameobject? Does it happen if you create a new empty scene and put a gameobject in there and select it? What version of Unity is it? If you don’t select anything in the editor, can you still do things in the game view without it crashing?

I get the error log doesn’t mention anything, but we’re limited on how to help you with such little information.

1 Like

I found out it has something to do with an asset, I’ll solve it with them personally.