Search Issue Tracker
By Design
Votes
0
Found in
2018.2.15f1
Issue ID
1111743
Regression
No
[WebGL] Deployed app is unable to redirect to another URL when the player is embedded into Heroku with Ruby On Rails
How to reproduce:
1. Set up a Heroku account.
2. Download Ruby (programming language)
3. Download Ruby on Rails
4. Set up a pipeline on Heroku and add an app to that pipeline
5. Push app to Heroku
5. Deploy the app (Instructions found under the `deploy` tab of your app)
6. Migrate the database in the terminal using 'heroku run rake db:migrate'
7. Open logs and open app
8. Enter an email address and enter password 3 times and notice that page does not redirect
9. Go to logs and search for 'Redirect'. If there, you have encountered the error.
10. To reproduce continuously, clear database with 'heroku pg:reset DATABASE_URL --confirm NAME_OF_THE_APP' and re-migrate followed by a restart of Heroku 'heroku restart'
Expected results: The page redirects and loads another URL
Actual results: Redirection is attempted, but URL load fails and Player continues
Reproducible with: 2018.2.15f1
Add comment
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- File watcher does not trigger after the AcquireFloatingLease and before the Entitlement check
- HDR Output gets disabled in the Editor when Reflection Probe is enabled during runtime
- The "Build and Run" Menu option tries to build for the selected Build Platform instead of the Active Build Platform
- Font kerning breaks at runtime when multiple UI Documents use different fonts
- MissingReferenceException occurs when entering Play mode with a locked GameObject in the Inspector
Resolution Note (2021.1.X):
Ruby `Redirect_to` command must be called before any HTTP content has been sent to the client. Use window.location JavaScript API to implement a redirect after the Unity page has been loaded.