Skip to content

[Issue] Getting "Error in data loop! System.IO.EndOfStreamException: Attempted to read past the end of the stream." on Mac M3 Max. #374

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

Open
nattb8 opened this issue Dec 6, 2024 · 2 comments
Labels
help wanted Extra attention is needed issue Something is broken

Comments

@nattb8
Copy link
Contributor

nattb8 commented Dec 6, 2024

What platform are you experiencing this issue on?

Windows x64

What version of UWB are you using?

2.2.5

What Unity version are you running?

2021.3.26f1

Describe what the issue you are experiencing is.

Unable to use UWB on Mac. I'm getting "Error in data loop! System.IO.EndOfStreamException: Attempted to read past the end of the stream." on my Mac M3 Max.

Provide reproducible steps for this issue.

  1. Add Web Browser Full to my scene
  2. Set "Popup action" to "Open External Window".
  3. Set initial URL to https://javascript.info/popup-windows
  4. UWB successfully loads the page
  5. Under the "Example: a minimalistic window" section, there's play button in the example code. Click on the play button which then launches a pop-up.
  6. Close the pop-up
[UWB]: Error in data loop! System.IO.EndOfStreamException: Attempted to read past the end of the stream.

[UWB]: An error occured while executing task SendMouseMoveEvent! System.IO.EndOfStreamException: Attempted to read past the end of the stream.

[UWB]: It appears that the engine process has quit!

Any additional info you like to provide?

This works fine on Windows. You can test it with this link.

@nattb8 nattb8 added the issue Something is broken label Dec 6, 2024
@debadri-naskar
Copy link

I am having the exact same issue. Following are the details:

  • System Info: Mac M2 Pro with Mac OS version 15.2
  • Unity Version: 2021.3.45f1 (Intel)
  • UWB Version: 2.2.5

Please provide a solution for this. I'm currently stuck.
Thanks in advance.

@Voltstro
Copy link
Member

Voltstro commented Feb 6, 2025

I've taken a look at this issue and have replicated it in a MacOS vm. The engine process is crashing, the crash seems to come from CEF, and is probably something to do with UWB's plist config, but not too sure. Need someone with better MacOS know-how to look.

@Voltstro Voltstro added the help wanted Extra attention is needed label Feb 6, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
help wanted Extra attention is needed issue Something is broken
Projects
None yet
Development

No branches or pull requests

3 participants