White screen on Instant Preview instead of camera feed. #158
Comments
|
I also had some trouble getting this to work on my Samsung S8, I was however able to get it working on a pixel device. |
|
Hi, thanks for the report. I added it to our internal tracking and we'll be looking into it. |
|
@DanMillerDev |
|
Joining the club; Galaxy S7 here. Occasionally it works but more often than not I get a constant "not connected to editor". A fresh reboot helps, occasionally. |
|
anyone running the editor with OpenGL, try switching to DX11. this resolved the issue for me. |
|
It doesn't work on Galaxy S8. The Instant-preview app stays on 'Press PLAY in Unity Unity editor '. White screen in the Editor. Unity console says: 'Instant Preview Version: 1.0.7'. |
|
Same here as with rfilkov. Not working on Samsung Galaxy S8. |
|
The exact same issue here too on the Samsung Galaxy S8+ |
|
Yesterday with my s8 and android version 7 it worked, after upgrading to android version 8 I've the same issue. |
|
Any luck with that? I have same problem with s8 after upgrade to Android 8 I've debugged the reason. Frame.CameraImage.Texture in ARCoreBackgroundRenderer.cs returns null so there is no image and I see the white screen Probably it is relate with what wrote @rfilkov - the instant preview does seems to not work correctly and it is not passing the frame image |
|
anybody was able to handle this problem? |
|
me too, same issue on U2017.3.1, OSX 10.13.4 using a Samsung S8 "Oreo" |
|
Same issue for me with the S8. Does anyone have a solution? When I check the adb log I see this: Well, it's true, that ARBackground.shader code doesn't have a vertex shader. Question is what now? |
|
same here latest ARCore + S8 Android 7 + Unity 2017.4.2f2 |
|
Same 2018.1 + Pixel Android P Beta |
|
same here, galaxy s9 running android 8.0.0, unity 207.3.1f1, arcore 1.2.0, and instant preview 1.0.8 |
|
i opt out from beta program and it works correctly now. Be careful about android P |
|
@omerfaruk what do you mean? what exactly did you do? |
|
I was on 2018.1 + Pixel Android P Beta and had error. After turn back to android 8.1 my instant preview start working @mraeclo |
|
thanks @omerfaruk |
|
same here, galaxy s8 running android 8.0.0, unity 207.3.1f1 on OSX, arcore 1.2.0, and instant preview 1.0.8 |
|
I see that a lot of people have exactly same problem. I'm wondering when it will be fixed. Deploying each, even smallest change, to the device is just a waste of time |
|
Sometimes the ports Instant Preview uses don't get freed and Instant Preview can't listen on the port. Only one instance of Unity with Instant Preview will work at a time. If you close all instances of Unity and check your instant preview port, is it open? You can do that on windows with: If open, they should not show any output. |
|
I solved the problem changing unity version. |
|
Same for me: I get a blank (white) screen, with the message "Seaching for surfaces".
Adding 2 more details from my case:
@juanmajr93 What exactly do you mean by "changing unity version"? I really hope that some developer will have a look into this, as seems to affect many people by now. |
|
@juanmajr93 can you let us know which unity version worked for you? |
|
It's not apparent why a different Unity version would cause an Instant Preview compatibility problem. @coffiarts was HelloAR scene added to the Unity build? @philmaas I recently tested with an S8 on Windows 10 / SDK v1.20. Which OS/SDK version are you using? |
|
Yes, the problem still there even after the 1.3.0 update |
|
Same for me, Galaxy S9 8.0.0, Unity 2018.1.5.f1, latest Arcore stuff |
|
I'm not sure if this is the fix. But I thought it might have something to do with the new Unity Hub which is technically like a second Unity instance running. So I restarted my computer and made sure to open Unity standalone, without Hub (and after checking that the port was indeed open). I opened the project and Preview worked for me. |
|
Problem still exists in Unity 2018.2.2f1 and ARCore v1.4.0 :/ if anyone has any solution to this I would be more than grateful as this would speed up my development times significantly. |
|
i use Samsung A6 i tried this version of unity: NOTHING works with istant preview... please no one can help us? |
|
@dylan-hart how can i run the with DX11? |
|
@avrahamraskin how can i open unity without this "hub"? |
|
@juanmajr93 what version of unity and what device? |
|
This is only a problem if you've downloaded Hub and you it.
Even once you've got Hub on your computer, you can still choose to open
Unity straight
…On Fri, Aug 10, 2018 at 3:35 PM ikaro88 ***@***.***> wrote:
@avrahamraskin <https://github.com/avrahamraskin> how can i open unity
without this "hub"?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#158 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/ADf0QxIgHdnB-L96Av6WF3XsaWv1zU5Kks5uPX4qgaJpZM4TC5o6>
.
--
*Avraham Raskin*
*AR Creator - *check out my new series '2025' on Instagram
Instagram <http://instagram.com/avrahamraskin> | Website
<http://avrahamrask.in> | Medium <http://medium.com/@avrahamraskin>
|
|
I have tried to run without hub but it doesn't help :/ |
|
I'm developing on Samsung Galaxy S8. I've tried Unity 2017.3.1 and 2017.4.10. It always gives me blank screen with Searching for Surfaces message. Couldn't start Instant Preview server with adb path: C:\Users\name\Documents\Android\Sdk\platform-tools\adb.exe. I've tryed to reinstall android sdk as well as stop and restart adb server via command line. Nothing happens and the same error still occurs. Any idea? |
|
Hi, ARCore SDK for Unity 1.5.0 has been released and this issue should be fixed. Please feel free to comment if you still experience it. |
|
Hello, I've downloaded and installed the sdk update 1.5.0 but blank screen still occurs with the same error log: Couldn't start Instant Preview server with adb path "C:\Users\name\AppData\Local\Android\Sdk\platform-tools\adb.exe". |
|
@pablisho Yes, I can confirm the instant preview finally works in Unity editor now, but there is a new issue. When I run the app on the device, I get: "Failure to initialize! - Your hardware does not support this application, sorry!" What does this mean and is there a workaround? There was no problem with ARCore from 1.0 to v1.4.1. I use Unity 2017.4.0, as required. |
|
if i open a new prowect it works, but if i import the new sdk in previus arcore projects the problem still persist... |
|
Deleting GoogleARCore and PlayServiceResolver, and reimporting the project (Asset-> reimport all) fixed the problem for me |
|
@vincentlorant you mean the folders? |
|
Btw doing reimport now the instant preview works (only on unity) but while i compile i have this error: Error: Duplicate file(s) in apk: 'C:\Users\carlo\Documents\Sviluppo\ArCore Balance\Temp\StagingArea\android-libraries\arcore_unity\libs' can you help me? |
|
I reimported the project and reinstalled ARCore, but it's still not working for me. In the Editor is a white screen and the Instant Preview App is showing a red Message "Not connected to editor" |
|
Everything was working fine on my Samsung S8+, and then I upgraded to a S9+ and I am now getting the problem, HelloAR says searching for surfaces.. and it just has a white screen above that. I'm on Unity 2018.2.14f1 and ARCore 1.5.0. Any suggestions on how to get this working again would be greatly appreciated. |
|
When using Samsung Galaxy Note 9, Unity 2017.4.6f1, and ARCore 1.5.0, instant preview gets a white screen. Using a Google Pixel 2 with this setup, however, works fine. |
|
In samsung S8 the error is intermitent. The instant preview worked as it should yesterday. Today it isn |
|
Same here, the instant preview suddenly stopped working 2 days ago(Honor 10, Unity 2018.2.13f1, and ARCore 1.5) EDIT: Not sure if that was the case, but update Unity to the 2018.2.14f1 did solve the issue. |
|
Using |
Same here too :( Honor 8X, Unity 2018.3.0f2, ARCore 1.6. |
|
this error still occurs, should be oppened no? :( |
|
I get this same error on mac OS, Unity 2019.1, ARcore 1.12.0 |
|
Same problem. mac OS, Unity 2020.1.10f1, ARCore XR Plugin 3.1.8 ? |

Hello!
I'm trying the new Instant Preview feature in the HelloAR example scene. The installation was successful and when pressing the play button it logs to console "Instant Preview Version: 1.0.7" like it should.
However I'm only seeing white screen instead of the feed from the back camera. I'm seeing the "Searching for surfaces…" but the text doesn't change and the screen stays white.
This is the screen in the phone and in the Unity editor.
Thanks for any help and it's a really great feature. Can't wait to get it to work.
The text was updated successfully, but these errors were encountered: