Skip to content

How do I restart after shutting down Unity? #400

Closed
@AuMaHub

Description

@AuMaHub

Describe the bug
When I use quit() on Android, the app quits. And when I use unload() the screen freezes when recreating Unity. Am I misunderstanding the function?

Log when the app is terminated with quit()

D/et.likersneten(19933): PlayerBase::stop() from IPlayer
D/AudioTrack(19933): stop(3385): called with 2632896 frames delivered
W/libEGL  (19933): EGLNativeWindowType 0x72fa66eee0 disconnect failed
Lost connection to device.
Exited (sigterm)

To Reproduce
Steps to reproduce the behavior:

  1. Access the Unity page from the app
  2. Page exit (use quit before dispose)
  3. error

Unity (please complete the following information):

  • OS: windows
  • Version 20.3.4f1

Smartphone (please complete the following information):

  • Device: Galaxy S10e
  • OS: Android 11
  • Version Android API 30

Additional context
Add any other context about the problem here.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions