Search in
Sort by:

Question Status:

Search help

  • Simple searches use one or more words. Separate the words with spaces (cat dog) to search cat,dog or both. Separate the words with plus signs (cat +dog) to search for items that may contain cat but must contain dog.
  • You can further refine your search on the search results page, where you can search by keywords, author, topic. These can be combined with each other. Examples
    • cat dog --matches anything with cat,dog or both
    • cat +dog --searches for cat +dog where dog is a mandatory term
    • cat -dog -- searches for cat excluding any result containing dog
    • [cats] —will restrict your search to results with topic named "cats"
    • [cats] [dogs] —will restrict your search to results with both topics, "cats", and "dogs"

Capture of camera doesn't work in Windows packaging build

Hi! I have First person controller and record movie (.avi file) from his camera. For this I use class UMovieSceneCapture, in particular method UMovieSceneCapture::StartCapture(). In UE Editor it works fine and I get movie, but my packaged build for Win-64 has crash after launch of method UMovieSceneCapture::StartCapture(). Please, does anyone have idea why does my packaged build have crash? May be are there another means for recording movie from game camera?

Product Version: UE 4.22
more ▼

asked Jun 19 '19 at 07:25 PM in Packaging & Deployment

avatar image

1 1 1

avatar image Maksym Nosatov Jun 19 '19 at 07:53 PM

Hi,Maxim.Can you attach the logs?From the build folder.

avatar image MaximGalevich Jun 20 '19 at 08:14 AM

Hi, Maksym. Here there is logs file from packaged build:link text

capturegame.log (53.9 kB)
(comments are locked)
10|2000 characters needed characters left
Viewable by all users

1 answer: sort voted first

Hi,Maxim i saw the log and its crashing due the nullptr, and accessing it.The problem what i think is that somewhere you are using the UObject and you are not using the UPROPERTY() macro,and its not crashing in Editor cause the garbage collector will not grab all not needed references.Check your UObjects that you are using and check that they are not deleted when they get out of scope of the function.

more ▼

answered Jun 20 '19 at 10:41 AM

avatar image

Maksym Nosatov
511 3 3 4

avatar image MaximGalevich Jun 21 '19 at 06:15 AM

Hi, Maksym. Thank you very much for your reply. I was researching this issue and found that UMovieSceneCapture::StartCapture() doesn't wortk because AVIWriter (for creating .avi file) creates only when WITH_UNREAL_DEVELOPER_TOOLS macros is TRUE. And for packaged build it is FALSE.

avatar image Maksym Nosatov Jun 21 '19 at 09:34 AM

Oki,good to know,please close the topic and Karma )))

(comments are locked)
10|2000 characters needed characters left
Viewable by all users
Your answer
toggle preview:

Up to 5 attachments (including images) can be used with a maximum of 5.2 MB each and 5.2 MB total.

Follow this question

Once you sign in you will be able to subscribe for any updates here

Answers to this question