Search Issue Tracker

Fixed

Votes

0

Found in [Package]

1.7.5

Issue ID

ADDR-1161

Regression

No

Building Addressables from within a IPreprocessBuildWithReport does not log error

Package: Build Pipeline - Addressables

-

*Update:*

The Unity Engine does not support building asset bundles from within a build callback (such as Preprocess).  Currently, if you build via addressables or SBP, from within IPreprocessBuildWithReport, the build finishes without logging any errors.  This breaks things further down the chain (IPostprocessBuildWithReport does not get called, amongst other things).  

As this is unsupported functionality, SBP should be detecting it, logging an error, and failing it's build. 

 

*Original:*

Steps to reproduce:
1. Open User-supplied project
2. In the top toolbar press Build Menu -> Prepare and then Build Menu -> Build

Expected: the "BuildPostProcessor.OnPostprocessBuild" appears In the console after building
Actual: it does not appear

Reproduced in: 2020.2.0a7

Add comment

Log in to post comment

All about bugs

View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.